Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8259 for code/branches/mac_osx


Ignore:
Timestamp:
Apr 18, 2011, 7:14:18 PM (14 years ago)
Author:
youngk
Message:

Integrating automatic crash reporter. Does not work atm.

Location:
code/branches/mac_osx
Files:
11 added
5 edited

Legend:

Unmodified
Added
Removed
  • code/branches/mac_osx/cmake/PrepareDevBundle.cmake

    r8135 r8259  
    2424 #
    2525
    26 IF(APPLE)
    27   IF(NOT CMAKE_CONFIGURATION_TYPES)
     26IF(NOT CMAKE_CONFIGURATION_TYPES)
    2827  SET(_subdirs .)
    2928  SET(_default_subdir .)
     
    5958
    6059ENDFOREACH(_subdir)
    61 ENDIF(APPLE)
  • code/branches/mac_osx/cmake/tools/TargetUtilities.cmake

    r8127 r8259  
    179179  # Don't compile header files
    180180  FOREACH(_file ${_${_target_name}_files})
    181     IF(NOT _file MATCHES "\\.(c|cc|cpp|cxx|mm)$")
     181    IF(NOT _file MATCHES "\\.(c|cc|cpp|cxx|m|mm)$")
    182182      SET_SOURCE_FILES_PROPERTIES(${_file} PROPERTIES HEADER_FILE_ONLY TRUE)
    183183    ENDIF()
  • code/branches/mac_osx/src/CMakeLists.txt

    r8135 r8259  
    173173# Apple Mac OS X specific build settings
    174174IF(APPLE)
    175   # On Apple we need to link to AppKit and Foundation frameworks
     175  # On Apple we need to link to AppKit, Foundation frameworks
    176176  TARGET_LINK_LIBRARIES(orxonox-main
    177177    "-framework AppKit"
    178178    "-framework Foundation"
     179    "-framework CoreFoundation"
    179180  )
    180181
  • code/branches/mac_osx/src/OrxonoxMac.mm

    r8133 r8259  
    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_osx/src/external/CMakeLists.txt

    r7459 r8259  
    3434ADD_SUBDIRECTORY(bullet)
    3535ADD_SUBDIRECTORY(cpptcl)
     36ADD_SUBDIRECTORY(cmcrashreporter)
    3637ADD_SUBDIRECTORY(enet)
    3738ADD_SUBDIRECTORY(loki)
Note: See TracChangeset for help on using the changeset viewer.