Skip to content

Ninja: Don't add custom command outputs to phony rule for CMake inputs

Patrick Stewart requested to merge patstew/cmake:ninja-cmake-deps into master

The ninja generator adds a phony build rule for all dependencies of the generator. If any of those files is generated by a custom command ninja prints an error about multiple rules for one output. This removes any custom command outputs from the outputs of the phony rule. #16910

Merge request reports