mirror of
https://github.com/Kitware/CMake.git
synced 2026-11-06 05:16:58 +00:00
Ninja: Write target depend info only when it is different
This commit is contained in:
1 parent
60b012591b
commit
f0396a582c
1 file changed
+1
@@ -2532,6 +2532,7 @@ void cmNinjaTargetGenerator::WriteTargetDependInfo(std::string const& lang,
|
||||
|
||||
std::string const tdin = this->GetTargetDependInfoPath(lang, config);
|
||||
cmGeneratedFileStream tdif(tdin);
|
||||
tdif.SetCopyIfDifferent(true);
|
||||
tdif << tdi;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user