summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/VS10Project/RunCMakeTest.cmake
diff options
context:
space:
mode:
authorCristian Adam <cristian.adam@gmail.com>2019-09-24 22:08:15 (GMT)
committerCristian Adam <cristian.adam@gmail.com>2019-10-01 16:33:40 (GMT)
commite6e189e02bb6e3efafc5d635edf5eb9688291e71 (patch)
tree02a1d57f1c6163db9a9f7e4595a8518b64d1d787 /Tests/RunCMake/VS10Project/RunCMakeTest.cmake
parentec16afc9e8aed8aebd387c416af5b5eef4ad337a (diff)
downloadCMake-e6e189e02bb6e3efafc5d635edf5eb9688291e71.zip
CMake-e6e189e02bb6e3efafc5d635edf5eb9688291e71.tar.gz
CMake-e6e189e02bb6e3efafc5d635edf5eb9688291e71.tar.bz2
PCH: Report error when setting COMPILE_PDB_NAME property
Reusable precompile headers require specific COMPILE_PDB_NAME property values. Report error if the user tries to set a different value.
Diffstat (limited to 'Tests/RunCMake/VS10Project/RunCMakeTest.cmake')
-rw-r--r--Tests/RunCMake/VS10Project/RunCMakeTest.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/VS10Project/RunCMakeTest.cmake b/Tests/RunCMake/VS10Project/RunCMakeTest.cmake
index dcdd177..44ccd6b 100644
--- a/Tests/RunCMake/VS10Project/RunCMakeTest.cmake
+++ b/Tests/RunCMake/VS10Project/RunCMakeTest.cmake
@@ -26,6 +26,7 @@ run_cmake(VsPackageReferences)
run_cmake(VsDpiAware)
run_cmake(VsDpiAwareBadParam)
run_cmake(VsPrecompileHeaders)
+run_cmake(VsPrecompileHeadersReuseFromCompilePDBName)
if(CMAKE_C_COMPILER_ID STREQUAL "MSVC" AND CMAKE_C_COMPILER_VERSION VERSION_GREATER_EQUAL 19.05)
run_cmake(VsJustMyCode)