Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8130 for code/branches/kicklib


Ignore:
Timestamp:
Mar 26, 2011, 9:49:51 PM (14 years ago)
Author:
rgrieder
Message:

Only compile OrxonoxMac.mm on Mac.

File:
1 edited

Legend:

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

    r8129 r8130  
    138138ENDIF()
    139139
     140SET(ORXONOX_MAIN_FILES Orxonox.cc)
     141
     142# Add special source file for OS X
     143IF(APPLE)
     144  LIST(APPEND ORXONOX_MAIN_FILES OrxonoxMac.mm)
     145ENDIF()
     146
    140147ORXONOX_ADD_EXECUTABLE(orxonox-main
    141148  # When defined as WIN32 this removes the console window on Windows
     
    144151    orxonox
    145152  SOURCE_FILES
    146     Orxonox.cc
    147     OrxonoxMac.mm
     153    ${ORXONOX_MAIN_FILES}
    148154  OUTPUT_NAME orxonox
    149155)
Note: See TracChangeset for help on using the changeset viewer.