mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
cmLocalGenerator: add PDB copying dependency on its script
This commit is contained in:
@@ -2994,7 +2994,8 @@ void cmLocalGenerator::CopyPchCompilePdb(
|
||||
cc->SetCommandLines(commandLines);
|
||||
cc->SetComment(comment.c_str());
|
||||
cc->SetStdPipesUTF8(true);
|
||||
cc->AppendDepends({ reuseTarget->GetPchFile(config, language) });
|
||||
cc->AppendDepends(
|
||||
{ reuseTarget->GetPchFile(config, language), copy_script });
|
||||
|
||||
if (this->GetGlobalGenerator()->IsVisualStudio()) {
|
||||
cc->SetByproducts(outputs);
|
||||
|
||||
Reference in New Issue
Block a user