search for: rebuildmanifest

Displaying 1 result from an estimated 1 matches for "rebuildmanifest".

2019 May 24
2
Prevent ninja from rerunning cmake in a new build directory
...the timestamps on the actual file isn't older. The following patch fixes the problem, i.e., there's no need to add build.ninja to the ninja_log: diff --git a/src/ninja.cc b/src/ninja.cc index a093cd1..810b22d 100644 --- a/src/ninja.cc +++ b/src/ninja.cc @@ -249,8 +249,6 @@ bool NinjaMain::RebuildManifest(const char* input_file, string* err) { return false; Builder builder(&state_, config_, &build_log_, &deps_log_, &disk_interface_); - if (!builder.AddTarget(node, err)) - return false; if (builder.AlreadyUpToDate()) return false; // Not an error, but we didn...