Developer reports
CMake compile-setting origins
Trace source compile groups and settings to File API backtrace records.
Your inputs
Start with an exampleYour result
Example resultAa — A small example of your colors.
How it works
Map source compileGroupIndex values, including zero, to supplied language, includes, defines and raw command fragments. Follow settings backtrace nodes to their CMake files and commands.
src/main.cpp uses CXX20 with a system SDK include, MODE=1 and raw -O2. The header has no compile group.
Limits
Up to 5000 sources, 1000 groups and 10000 backtrace nodes; exports are bounded. Inconsistent indexes and cycles stay unknown. Relative paths resolve only against an explicitly supplied top-level source root. Interface sources are separate. No build execution or reconstructed shell command.