mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-08 14:50:10 -06:00
cmLocalGenerator: fix destination path construction for PCH/PDB copying
This commit is contained in:
committed by
Ben Boeckel
parent
9eb1c56a84
commit
f0d8606267
@@ -2939,10 +2939,9 @@ void cmLocalGenerator::CopyPchCompilePdb(
|
||||
std::string const from_file =
|
||||
replaceExtension(reuseTarget->GetCompilePDBPath(config), extension);
|
||||
std::string const to_dir = target->GetCompilePDBDirectory(config);
|
||||
std::string const to_file = cmStrCat(
|
||||
replaceExtension(reuseTarget->GetCompilePDBName(config), extension),
|
||||
'/');
|
||||
std::string const dest_file = cmStrCat(to_dir, to_file);
|
||||
std::string const to_file =
|
||||
replaceExtension(reuseTarget->GetCompilePDBName(config), extension);
|
||||
std::string const dest_file = cmStrCat(to_dir, '/', to_file);
|
||||
|
||||
file << "foreach(retry RANGE 1 30)\n";
|
||||
file << " if (EXISTS \"" << from_file << "\" AND (NOT EXISTS \""
|
||||
|
||||
Reference in New Issue
Block a user