Changeset 3330 for code/trunk/cmake
- Timestamp:
- Jul 21, 2009, 11:53:13 AM (15 years ago)
- Location:
- code/trunk/cmake
- Files:
-
- 2 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)
Note: See TracChangeset
for help on using the changeset viewer.