[Orxonox-commit 1246] r5964 - code/trunk/cmake

rgrieder at orxonox.net rgrieder at orxonox.net
Mon Oct 19 11:29:10 CEST 2009


Author: rgrieder
Date: 2009-10-19 11:29:10 +0200 (Mon, 19 Oct 2009)
New Revision: 5964

Modified:
   code/trunk/cmake/CompilerConfigMSVC.cmake
Log:
Fixed msvc build with PCH.

Modified: code/trunk/cmake/CompilerConfigMSVC.cmake
===================================================================
--- code/trunk/cmake/CompilerConfigMSVC.cmake	2009-10-18 21:39:32 UTC (rev 5963)
+++ code/trunk/cmake/CompilerConfigMSVC.cmake	2009-10-19 09:29:10 UTC (rev 5964)
@@ -68,11 +68,6 @@
 ADD_COMPILER_FLAGS("-D__WIN32__ -D_WIN32"      CACHE)
 ADD_COMPILER_FLAGS("-D_CRT_SECURE_NO_WARNINGS" CACHE)
 
-# We need this flag to hack-disable IntelliSense for certain files/projects
-# Our precompiled headers should not be larger than 50MB anyway
-# because otherwise they get rendered useless due to too many file fragments
-REMOVE_COMPILER_FLAGS("-Zm1000" CACHE)
-
 # Overwrite CMake default flags here.
 SET_COMPILER_FLAGS("-MDd -Od -Zi -D_DEBUG -MP2 -RTC1" Debug          CACHE)
 SET_COMPILER_FLAGS("-MD  -O2     -DNDEBUG -MP2"       Release        CACHE)




More information about the Orxonox-commit mailing list