Skip to content

Ninja: Omit local outputs from rebuild manifest

When building with ninja, all input files from local generators are unconditionally added to the dependencies controlling the re-run of cmake. This can lead to dependency problems when such files also appear as the output of a local generator.

This patch fixes this by only adding a file to the rebuild manifest if it is not at the same time an output file of any local generator.

Issue: #20873 (closed)
Topic-rename: ninja-rebuild

Edited by Brad King

Merge request reports