diff options
author | Brad King <brad.king@kitware.com> | 2020-01-20 16:59:19 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2020-01-20 16:59:28 (GMT) |
commit | 941c09616bc214db77e3b1b7e5229517db08b45c (patch) | |
tree | f8fb0dcf54d2b15406f87d2ea648d97981d4c09a /Tests/RunCMake/PrecompileHeaders/PchPrologueEpilogue-check.cmake | |
parent | 56a3e84a67bebd645914a65eea825aab365f88c7 (diff) | |
parent | a55df20499fe9329269efccc8552f26029ae4a0e (diff) | |
download | CMake-941c09616bc214db77e3b1b7e5229517db08b45c.zip CMake-941c09616bc214db77e3b1b7e5229517db08b45c.tar.gz CMake-941c09616bc214db77e3b1b7e5229517db08b45c.tar.bz2 |
Merge topic 'multi-ninja-pch'
a55df20499 Multi-Ninja: Add precompile headers support
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4201
Diffstat (limited to 'Tests/RunCMake/PrecompileHeaders/PchPrologueEpilogue-check.cmake')
-rw-r--r-- | Tests/RunCMake/PrecompileHeaders/PchPrologueEpilogue-check.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/PrecompileHeaders/PchPrologueEpilogue-check.cmake b/Tests/RunCMake/PrecompileHeaders/PchPrologueEpilogue-check.cmake index 9018664..f1504a7 100644 --- a/Tests/RunCMake/PrecompileHeaders/PchPrologueEpilogue-check.cmake +++ b/Tests/RunCMake/PrecompileHeaders/PchPrologueEpilogue-check.cmake @@ -1,4 +1,7 @@ set(main_pch_header "${RunCMake_TEST_BINARY_DIR}/CMakeFiles/main.dir/cmake_pch.hxx") +if (RunCMake_GENERATOR_IS_MULTI_CONFIG) + set(main_pch_header "${RunCMake_TEST_BINARY_DIR}/CMakeFiles/main.dir/Debug/cmake_pch.hxx") +endif() file(STRINGS ${main_pch_header} main_pch_header_strings) string(REGEX MATCH "#pragma warning\\(push, 0\\).*#include.*pch.h.*#pragma warning\\(pop\\)" matched_code ${main_pch_header_strings}) |