mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-08 23:44:00 +03:00
cmLocalGenerator: fix destination path construction for PCH/PDB copying
This commit is contained in:
1 parent
9eb1c56a84
commit
f0d8606267
1 file changed
+3
-4
@@ -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