Changeset 7439 for sandbox_qt/cmake
- Timestamp:
- Sep 13, 2010, 1:30:28 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox_qt/cmake/CompilerConfigMSVC.cmake
r7379 r7439 149 149 # CMake default flags: -MANIFEST -STACK:10000000 -machine:I386 150 150 # and INCREMENTAL and DEBUG for debug versions 151 ADD_LINKER_FLAGS("-OPT:REF -OPT:ICF" Release MinSizeRel CACHE) 151 SET_LINKER_FLAGS("-debug -INCREMENTAL:YES" Debug CACHE) 152 SET_LINKER_FLAGS("-debug" RelWithDebInfo CACHE) 153 SET_LINKER_FLAGS("" Release MinSizeRel CACHE) 154 152 155 ADD_LINKER_FLAGS("-OPT:NOWIN98" MSVC80 CACHE) 153 REMOVE_LINKER_FLAGS("-INCREMENTAL:NO" RelWithDebInfo CACHE)154 ADD_LINKER_FLAGS ("-INCREMENTAL:YES" RelWithDebInfo CACHE)155 156 156 157 # Use Link time code generation for Release config if ORXONOX_RELEASE is defined 157 158 IF(ORXONOX_RELEASE) 158 REMOVE_LINKER_FLAGS("-INCREMENTAL:YES" ReleaseAll CACHE) 159 ADD_LINKER_FLAGS ("-INCREMENTAL:NO" ReleaseAll CACHE) 160 ADD_LINKER_FLAGS ("-LTCG" ReleaseAll CACHE) 159 ADD_LINKER_FLAGS("-INCREMENTAL:NO -OPT:ICF -OPT:REF -LTCG" ReleaseAll CACHE) 160 ELSE() 161 ADD_LINKER_FLAGS("-INCREMENTAL:YES" RelWithDebInfo CACHE) 162 ADD_LINKER_FLAGS("-INCREMENTAL:NO -OPT:ICF -OPT:REF" Release MinSizeRel CACHE) 161 163 ENDIF()
Note: See TracChangeset
for help on using the changeset viewer.