Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 28, 2011, 4:29:37 PM (14 years ago)
Author:
rgrieder
Message:

Merged remaining revisions in mac_osx to mac_osx2 branch.

Location:
code/branches/mac_osx2
Files:
5 edited
14 copied

Legend:

Unmodified
Added
Removed
  • code/branches/mac_osx2

  • code/branches/mac_osx2/src/CMakeLists.txt

    r8351 r8356  
    196196# Apple Mac OS X specific build settings
    197197IF(APPLE)
    198   # On Apple we need to link to AppKit and Foundation frameworks
     198  # On Apple we need to link to AppKit, Foundation frameworks
    199199  TARGET_LINK_LIBRARIES(orxonox-main
     200    cmcrashreporter_orxonox
    200201    "-framework AppKit"
    201202    "-framework Foundation"
     203    "-framework CoreFoundation"
    202204  )
    203205
  • code/branches/mac_osx2/src/Orxonox.cc

    r8351 r8356  
    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_osx2/src/OrxonoxMac.mm

    r8351 r8356  
    2828
    2929#import "OrxonoxMac.h"
     30#import <cmcrashreporter/CMCrashReporter.h>
    3031
    3132static int argc_s = 0;
     
    4647- (void)applicationDidFinishLaunching:(NSNotification *)notification
    4748{
     49    // This call initializes the crash reporter, which sends crash reports to the developers
     50    [CMCrashReporter check];
     51   
    4852    exit(main_mac(argc_s, argv_s));
    4953}
  • code/branches/mac_osx2/src/external/CMakeLists.txt

    r8351 r8356  
    2323ADD_SUBDIRECTORY(bullet)
    2424ADD_SUBDIRECTORY(cpptcl)
     25ADD_SUBDIRECTORY(cmcrashreporter)
    2526ADD_SUBDIRECTORY(enet)
    2627ADD_SUBDIRECTORY(loki)
Note: See TracChangeset for help on using the changeset viewer.