Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 18, 2011, 9:33:05 PM (13 years ago)
Author:
youngk
Message:

Made the crash reporter work. More or less…

Location:
code/branches/mac_osx/src
Files:
3 added
4 edited

Legend:

Unmodified
Added
Removed
  • code/branches/mac_osx/src/CMakeLists.txt

    r8259 r8260  
    175175  # On Apple we need to link to AppKit, Foundation frameworks
    176176  TARGET_LINK_LIBRARIES(orxonox-main
     177    cmcrashreporter_orxonox
    177178    "-framework AppKit"
    178179    "-framework Foundation"
  • code/branches/mac_osx/src/Orxonox.cc

    r8133 r8260  
    7575            strCmdLine = strCmdLine + argv[i] + ' ';
    7676#endif
    77 
     77       
     78        // Use these statements to make Orxonox go crashycrash
     79        //int* crashInt = NULL;
     80        //COUT(0) << *crashInt << std::endl;
     81             
    7882        return orxonox::main(strCmdLine);
    7983    }
  • code/branches/mac_osx/src/external/cmcrashreporter/CMCrashReporter.m

    r8259 r8260  
    4040                return array;
    4141        } else {
    42                 // Tiger Formet is AppName.crash.log
     42                // Tiger Format is AppName.crash.log
    4343                NSString *path = [[NSString stringWithFormat:@"~/Library/Logs/CrashReporter/%@.crash.log",[CMCrashReporterGlobal appName]] stringByExpandingTildeInPath];
    4444                if ([fileManager fileExistsAtPath:path]) return [NSArray arrayWithObject:path];
  • code/branches/mac_osx/src/external/cmcrashreporter/CMakeLists.txt

    r8259 r8260  
    5353  SET(DEVBUNDLE_CURRENT_RESOURCES "${DEVBUNDLE_CURRENT_DIR}/Resources")
    5454  SET(DEVBUNDLE_DEFAULT_LANGFILE "English.lproj")
    55   SET(DEVBUNDLE_NIB_FILE "MainMenu.nib")
     55  SET(DEVBUNDLE_NIB_FILE "CMCrashReporterWindow.nib")
    5656
    5757  # Create bundle folder structure
     
    6262 
    6363  # Populate app with additional NIB file.
    64   CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/CMCrashReporterWindow.xib" "${DEVBUNDLE_CURRENT_RESOURCES}/${DEVBUNDLE_DEFAULT_LANGFILE}/CMCrashReporterWindow.xib" COPYONLY)
     64  CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/${DEVBUNDLE_NIB_FILE}/keyedobjects.nib" "${DEVBUNDLE_CURRENT_RESOURCES}/${DEVBUNDLE_DEFAULT_LANGFILE}/${DEVBUNDLE_NIB_FILE}/keyedobjects.nib" COPYONLY)
     65  CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/${DEVBUNDLE_NIB_FILE}/designable.nib" "${DEVBUNDLE_CURRENT_RESOURCES}/${DEVBUNDLE_DEFAULT_LANGFILE}/${DEVBUNDLE_NIB_FILE}/designable.nib" COPYONLY)
     66
    6567
    6668ENDFOREACH(_subdir)
Note: See TracChangeset for help on using the changeset viewer.