Changeset 5733 for code/branches
- Timestamp:
- Sep 1, 2009, 12:04:50 AM (15 years ago)
- Location:
- code/branches/libraries2/src
- Files:
-
- 2 edited
- 1 moved
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 "") -
code/branches/libraries2/src/Orxonox.cc
r5727 r5733 45 45 46 46 #include "util/Debug.h" 47 #include " Main.h"47 #include "orxonox/Main.h" 48 48 49 49 /* -
code/branches/libraries2/src/orxonox/CMakeLists.txt
r5732 r5733 31 31 ADD_SUBDIRECTORY(sound) 32 32 33 # Translate argument34 IF(ORXONOX_USE_WINMAIN)35 SET(ORXONOX_WIN32 WIN32)36 ENDIF()37 38 33 ORXONOX_ADD_LIBRARY(orxonox 39 34 FIND_HEADER_FILES … … 67 62 ) 68 63 69 ORXONOX_ADD_EXECUTABLE(orxonox-main70 # When defined as WIN32 this removes the console window on Windows71 ${ORXONOX_WIN32}72 LINK_LIBRARIES73 orxonox74 SOURCE_FILES75 Orxonox.cc76 OUTPUT_NAME orxonox77 )78 79 GET_TARGET_PROPERTY(_exec_loc orxonox-main LOCATION)80 GET_FILENAME_COMPONENT(_exec_name ${_exec_loc} NAME)81 SET(ORXONOX_EXECUTABLE_NAME ${_exec_name} CACHE INTERNAL "")82 83 64 84 65 # When using Visual Studio we want to use the output directory as working
Note: See TracChangeset
for help on using the changeset viewer.