[cmake-commits] king committed CMakeLists.txt 1.1 1.2

cmake-commits at cmake.org cmake-commits at cmake.org
Mon Mar 12 11:35:13 EST 2007


Update of /cvsroot/CMake/CMake/Tests/PrecompiledHeader
In directory public:/mounts/ram/cvs-serv18843/Tests/PrecompiledHeader

Modified Files:
	CMakeLists.txt 
Log Message:
BUG: Split precompiled header flags into a separate per-global-generator flag map.  This is needed because the flag mappings differ across VS IDE versions.  This fixes bug#3512 for VS8 where as the previous fix only worked for VS7.


Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/PrecompiledHeader/CMakeLists.txt,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- CMakeLists.txt	8 Feb 2007 21:18:21 -0000	1.1
+++ CMakeLists.txt	12 Mar 2007 16:35:11 -0000	1.2
@@ -14,9 +14,9 @@
 FILE(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/PCH)
 
 # Choose between an explicit include path and using /I during
-# precompilation.  The /I form is provided as an example.  In practice
-# the include path form would be used.
-SET(PCH_USE_INCLUDE_DIR 1)
+# precompilation.  The /I form is used to test that the PCH is
+# actually used.  In practice the include path form would be used.
+SET(PCH_USE_INCLUDE_DIR 0)
 IF(PCH_USE_INCLUDE_DIR)
   INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/include)
 ELSE(PCH_USE_INCLUDE_DIR)



More information about the Cmake-commits mailing list