- Timestamp:
- Jul 21, 2009, 11:53:13 AM (15 years ago)
- Location:
- code/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/cmake/BuildConfig.cmake
r3323 r3330 25 25 # 26 26 27 ################# Misc Options ##################27 ################# Misc Settings ################# 28 28 29 29 # Standard path suffixes, might not hold everywhere though … … 70 70 ENDIF() 71 71 72 # Enable expensive optimisations: Use this for a binary release build73 OPTION(ORXONOX_RELEASE "Enable when building restributable releases" FALSE)74 75 # Use WinMain() or main()?76 IF(WIN32)77 OPTION(ORXONOX_USE_WINMAIN "Use WinMain (doesn't show console) or main" FALSE)78 ENDIF()79 72 80 73 ################# OGRE Plugins ################## … … 124 117 125 118 126 ################# Test options ##################127 128 129 119 ############# Installation Settings ############# 130 120 … … 187 177 188 178 189 ######## Static/Dynamic linking defines ######### 179 ################ Various options ################ 180 181 # Enable expensive optimisations: Use this for a binary release build 182 OPTION(ORXONOX_RELEASE "Enable when building restributable releases" FALSE) 183 184 # Use WinMain() or main()? 185 IF(WIN32) 186 OPTION(ORXONOX_USE_WINMAIN "Use WinMain (doesn't show console) or main" FALSE) 187 ENDIF() 188 189 # Global switch to disable Precompiled Header Files 190 IF(PCH_COMPILER_SUPPORT) 191 OPTION(PCH_ENABLE "Global PCH switch" TRUE) 192 ENDIF() 193 194 195 ############ Static/Dynamic linking ############# 196 197 # Default linking is SHARED 198 SET(ORXONOX_DEFAULT_LINK SHARED) 190 199 191 200 # Disable Boost auto linking completely -
code/trunk/cmake/TargetUtilities.cmake
r3196 r3330 112 112 113 113 # First part (pre target) of precompiled header files 114 IF(PCH_COMPILER_SUPPORT AND _arg_PCH_FILE)114 IF(PCH_COMPILER_SUPPORT AND PCH_ENABLE AND _arg_PCH_FILE) 115 115 # Provide convenient option to control PCH 116 116 STRING(TOUPPER "${_target_name}" _target_name_upper) -
code/trunk/src/CMakeLists.txt
r3196 r3330 30 30 # Tolua binding speedup if required 31 31 ADD_COMPILER_FLAGS("-DTOLUA_RELEASE" ORXONOX_RELEASE) 32 33 # Default linking is SHARED34 SET(ORXONOX_DEFAULT_LINK SHARED)35 32 36 33 ################ OrxonoxConfig.h ################
Note: See TracChangeset
for help on using the changeset viewer.