mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
Merge topic 'pchreuse-copy-depends'
a8cf09d49a PCH: Fix regression in REUSE_FROM that copies the `.pdb` too often
Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com>
Merge-request: !11702
This commit is contained in:
@@ -2901,6 +2901,7 @@ void cmLocalGenerator::CopyPchCompilePdb(
|
||||
std::string const copy_script = cmStrCat(target->GetSupportDirectory(),
|
||||
"/copy_idb_pdb_", config, ".cmake");
|
||||
cmGeneratedFileStream file(copy_script);
|
||||
file.SetCopyIfDifferent(true);
|
||||
|
||||
file << "# CMake generated file\n";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user