[Orxonox-commit 1817] r6535 - code/trunk/cmake
rgrieder at orxonox.net
rgrieder at orxonox.net
Tue Mar 16 11:13:28 CET 2010
Author: rgrieder
Date: 2010-03-16 11:13:28 +0100 (Tue, 16 Mar 2010)
New Revision: 6535
Modified:
code/trunk/cmake/CompilerConfigMSVC.cmake
Log:
MSVC build config fix for incremental linking.
Modified: code/trunk/cmake/CompilerConfigMSVC.cmake
===================================================================
--- code/trunk/cmake/CompilerConfigMSVC.cmake 2010-03-16 09:59:43 UTC (rev 6534)
+++ code/trunk/cmake/CompilerConfigMSVC.cmake 2010-03-16 10:13:28 UTC (rev 6535)
@@ -146,6 +146,8 @@
# and INCREMENTAL and DEBUG for debug versions
ADD_LINKER_FLAGS("-OPT:REF -OPT:ICF" Release MinSizeRel CACHE)
ADD_LINKER_FLAGS("-OPT:NOWIN98" MSVC80 CACHE)
+REMOVE_LINKER_FLAGS("-INCREMENTAL:NO" RelWithDebInfo CACHE)
+ADD_LINKER_FLAGS ("-INCREMENTAL:YES" RelWithDebInfo CACHE)
# Use Link time code generation for Release config if ORXONOX_RELEASE is defined
IF(ORXONOX_RELEASE)
More information about the Orxonox-commit
mailing list