diff options
author | Brad King <brad.king@kitware.com> | 2021-11-09 12:51:56 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2021-11-09 12:52:30 (GMT) |
commit | 79c21dc9bdaf852c40c012fb73540f048a07f897 (patch) | |
tree | 90902610f2502d4138d2c9d7ac5a228e4ad96cb2 /Source/cmLocalGenerator.cxx | |
parent | 626d8fbc09b3d27b99caed92135cda3330439c3c (diff) | |
parent | 95fa27d94df39fda5463c6644ff78c364dd4e47f (diff) | |
download | CMake-79c21dc9bdaf852c40c012fb73540f048a07f897.zip CMake-79c21dc9bdaf852c40c012fb73540f048a07f897.tar.gz CMake-79c21dc9bdaf852c40c012fb73540f048a07f897.tar.bz2 |
Merge topic 'msvc-pch-reuse-config'
95fa27d94d PCH: Fix REUSE_FROM when Debug and RelWithDebInfo configs differ
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !6712
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r-- | Source/cmLocalGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index 3a4c386..1fac0cb 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -2698,8 +2698,8 @@ void cmLocalGenerator::CopyPchCompilePdb( cmStrCat(target->GetLocalGenerator()->GetCurrentBinaryDirectory(), "/", target->GetName(), ".dir/"); - const std::string copy_script = - cmStrCat(target_compile_pdb_dir, "copy_idb_pdb.cmake"); + const std::string copy_script = cmStrCat( + target_compile_pdb_dir, "copy_idb_pdb_", config.c_str(), ".cmake"); cmGeneratedFileStream file(copy_script); file << "# CMake generated file\n"; |