Changeset 7818 for code/trunk/cmake/CompilerConfigMSVC.cmake
- Timestamp:
- Dec 26, 2010, 9:07:43 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/cmake/CompilerConfigMSVC.cmake
r7810 r7818 35 35 36 36 ######################## Options ######################## 37 38 # Currently VLD has a problem with MSVC9 although it actually is supported39 IF(MSVC80)40 OPTION(VISUAL_LEAK_DETECTOR_ENABLE "Memory leak detector" off)41 ENDIF()42 # Make sure the value is "on" or "off" for vld.ini43 IF(VISUAL_LEAK_DETECTOR_ENABLE)44 SET(VISUAL_LEAK_DETECTOR_ENABLE on)45 ELSE()46 SET(VISUAL_LEAK_DETECTOR_ENABLE off)47 ENDIF()48 37 49 38 # Orxonox only supports MSVC 8 and above, which gets asserted above … … 159 148 IF(ORXONOX_RELEASE) 160 149 ADD_LINKER_FLAGS("-INCREMENTAL:NO -OPT:ICF -OPT:REF -LTCG" ReleaseAll CACHE) 150 # Static linker flags have to be added manually to a target 151 SET(ORXONOX_STATIC_LINKER_FLAGS "/LTCG") 161 152 ELSE() 162 153 ADD_LINKER_FLAGS("-INCREMENTAL:YES" RelWithDebInfo CACHE)
Note: See TracChangeset
for help on using the changeset viewer.