[Orxonox-commit 1159] r5880 - code/branches/core5/cmake

rgrieder at orxonox.net rgrieder at orxonox.net
Mon Oct 5 18:10:55 CEST 2009


Author: rgrieder
Date: 2009-10-05 18:10:54 +0200 (Mon, 05 Oct 2009)
New Revision: 5880

Modified:
   code/branches/core5/cmake/CompilerConfigMSVC.cmake
Log:
Removing "minimal rebuild" option for msvc: It doesn't work too well (sometimes doesn't compile files it really should) and you can't compile more than one file at once with it enabled.

Modified: code/branches/core5/cmake/CompilerConfigMSVC.cmake
===================================================================
--- code/branches/core5/cmake/CompilerConfigMSVC.cmake	2009-10-05 15:02:25 UTC (rev 5879)
+++ code/branches/core5/cmake/CompilerConfigMSVC.cmake	2009-10-05 16:10:54 UTC (rev 5880)
@@ -69,10 +69,10 @@
 ADD_COMPILER_FLAGS("-D_CRT_SECURE_NO_WARNINGS" CACHE)
 
 # Overwrite CMake default flags here.
-SET_COMPILER_FLAGS("-MDd -Od -Zi -D_DEBUG -Gm -RTC1" Debug          CACHE)
-SET_COMPILER_FLAGS("-MD  -O2     -DNDEBUG -MP2"      Release        CACHE)
-SET_COMPILER_FLAGS("-MD  -O2 -Zi -DNDEBUG -MP2"      RelWithDebInfo CACHE)
-SET_COMPILER_FLAGS("-MD  -O1     -DNDEBUG -MP2"      MinSizeRel     CACHE)
+SET_COMPILER_FLAGS("-MDd -Od -Zi -D_DEBUG -MP2 -RTC1" Debug          CACHE)
+SET_COMPILER_FLAGS("-MD  -O2     -DNDEBUG -MP2"       Release        CACHE)
+SET_COMPILER_FLAGS("-MD  -O2 -Zi -DNDEBUG -MP2"       RelWithDebInfo CACHE)
+SET_COMPILER_FLAGS("-MD  -O1     -DNDEBUG -MP2"       MinSizeRel     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