Changeset 5733 for code/branches/libraries2/src/CMakeLists.txt
- Timestamp:
- Sep 1, 2009, 12:04:50 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/libraries2/src/CMakeLists.txt
r5716 r5733 99 99 ADD_SUBDIRECTORY(modules) 100 100 ADD_SUBDIRECTORY(orxonox) 101 102 ################ Executable ################ 103 104 # Translate argument 105 IF(ORXONOX_USE_WINMAIN) 106 SET(ORXONOX_WIN32 WIN32) 107 ENDIF() 108 109 ORXONOX_ADD_EXECUTABLE(orxonox-main 110 # When defined as WIN32 this removes the console window on Windows 111 ${ORXONOX_WIN32} 112 LINK_LIBRARIES 113 orxonox 114 SOURCE_FILES 115 Orxonox.cc 116 OUTPUT_NAME orxonox 117 ) 118 119 GET_TARGET_PROPERTY(_exec_loc orxonox-main LOCATION) 120 GET_FILENAME_COMPONENT(_exec_name ${_exec_loc} NAME) 121 SET(ORXONOX_EXECUTABLE_NAME ${_exec_name} CACHE INTERNAL "")
Note: See TracChangeset
for help on using the changeset viewer.