For a large CMake/Ninja C/C++/etc. project we have, running "ninja -t deps" is omitting the primary source file and listing only the targets and their included header files. This problem is happening only on Windows, not Linux. Why might this be, and what can we do about it? We have static code analysis support scripts that need to parse the full dependency graph. Other than this omission, Ninja appears to be working correctly.
Windows 10 Enterprise LTSC SHB 10.5.0
Visual Studio Professional 2019 16.11.7
CMake 3.20.21032501-MSVC_2 (Kitware)
Oh, one other thing. I also noticed that on Windows, "ninja -t deps" shows the dependencies using relative paths, whereas on Linux, it uses absolute paths. What is the reason for this discrepancy?