Revert "Ninja: Track configured files so we can regenerate them."
Revert commit 4a6397a7
(Ninja: Track configured files so we can
regenerate them, 2013-06-17). The files reported by the method
cmMakefile::GetOutputFiles() must cause CMake to re-run only if they are
missing and without considering a timestamp. This is not the meaning of
the implicit dependencies field so Ninja re-runs CMake too often.
Another solution will have to be found to the original problem.
This commit is contained in:
parent
c515dc5748
commit
20e595aba8
|
@ -1094,9 +1094,6 @@ void cmGlobalNinjaGenerator::WriteTargetRebuildManifest(std::ostream& os)
|
|||
this->LocalGenerators.begin(); i != this->LocalGenerators.end(); ++i) {
|
||||
const std::vector<std::string>& lf = (*i)->GetMakefile()->GetListFiles();
|
||||
implicitDeps.insert(implicitDeps.end(), lf.begin(), lf.end());
|
||||
|
||||
const std::vector<std::string>& of = (*i)->GetMakefile()->GetOutputFiles();
|
||||
implicitDeps.insert(implicitDeps.end(), of.begin(), of.end());
|
||||
}
|
||||
std::sort(implicitDeps.begin(), implicitDeps.end());
|
||||
implicitDeps.erase(std::unique(implicitDeps.begin(), implicitDeps.end()),
|
||||
|
|
Loading…
Reference in New Issue