New
samurai 1.1
New features
- The
targetssubtool is now implemented. This subtool prints targets built by the project, either by rule name or depth from the final outputs. - The
compdbsubtool is now implement. This subtool dumps a JSON compilation database, as specified in https://clang.llvm.org/docs/JSONCompilationDatabase.html, and allows integration with some IDEs and build tools. - The
NINJA_STATUSenvironment variable is now honored, allowing control over what information is included in the status line. - The
-lflag (scheduling based on load average) is now ignored for compatibility with ninja.
Bug fixes
- When a job specified
depfileanddeps, but did not actually write thedepfile(for example, D compilers with meson), we now write an empty dependency record to.ninja_deps. This matches ninja's behavior and prevents unwanted rebuilds. - When the manifest is dirty, but a
restat = 1action causes the manifest rebuild to be pruned, we now continue with the build. This prevents a manifest rebuild loop in these cases (for example with cmake using glob patterns), since the manifest is always dirty after reloading.