Open njames93 opened 1 month ago
would it be possible to provide some STR ? thanks
would it be possible to provide some STR ? thanks
Sorry a little confused by STR, Is this some kind of minimal reproducer?
It looks similar to my #2073 issue, that contains a workaround for similar case.
@njames93, can you recheck this, please
Compiling a c(++) project using
cmake
withninja
andgcc
and an unpopulated cache results in a correct compilation and the.ninja_deps
file being populated.However removing the build directory and re-running cmake and ninja create a
.ninja_deps
file that contains no dependencies for each translation unit.This is breaking ninja's dependency tracking and results in edits to header files not causing any translation units that include those headers to be re-compiled
Environment