diff options
author | Cristian Adam <cristian.adam@gmail.com> | 2020-01-10 16:05:27 (GMT) |
---|---|---|
committer | Cristian Adam <cristian.adam@gmail.com> | 2020-01-17 22:17:35 (GMT) |
commit | a55df20499fe9329269efccc8552f26029ae4a0e (patch) | |
tree | 7496ccc84d7be98249c45ae4ea6309d5b8b2dc85 /Tests/RunCMake/PrecompileHeaders/PchPrologueEpilogue-check.cmake | |
parent | 1e728706de1457a25fe531d5905c28570a208a08 (diff) | |
download | CMake-a55df20499fe9329269efccc8552f26029ae4a0e.zip CMake-a55df20499fe9329269efccc8552f26029ae4a0e.tar.gz CMake-a55df20499fe9329269efccc8552f26029ae4a0e.tar.bz2 |
Multi-Ninja: Add precompile headers support
Fixes: #19789
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}) |