diff options
author | Brad King <brad.king@kitware.com> | 2007-03-12 16:35:11 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-03-12 16:35:11 (GMT) |
commit | fb38af53c0536de7abda7f9a5eea2527f087caf1 (patch) | |
tree | 84dca98bd0c0d419b196698d3188e110e7354940 /Tests | |
parent | 55603ea9ebc044d8d811198d924851c2a1cc9ddb (diff) | |
download | CMake-fb38af53c0536de7abda7f9a5eea2527f087caf1.zip CMake-fb38af53c0536de7abda7f9a5eea2527f087caf1.tar.gz CMake-fb38af53c0536de7abda7f9a5eea2527f087caf1.tar.bz2 |
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.
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/PrecompiledHeader/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Tests/PrecompiledHeader/CMakeLists.txt b/Tests/PrecompiledHeader/CMakeLists.txt index ac0e515..14bd277 100644 --- a/Tests/PrecompiledHeader/CMakeLists.txt +++ b/Tests/PrecompiledHeader/CMakeLists.txt @@ -14,9 +14,9 @@ ENDIF(CMAKE_CONFIGURATION_TYPES) 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) |