llvm-project
4e22a6ef - [llvm-rc] Add /showIncludes dependency reporting (#217102)

Commit
71 days ago
[llvm-rc] Add /showIncludes dependency reporting (#217102) Add `/showIncludes` support to `llvm-rc` so build systems can discover the files a resource compile depends on. This enables Ninja and other build systems to track and correctly recompile the `.rc` file when inputs change. Two kinds of dependencies are reported: - Preprocessor header dependencies, by forwarding `--show-includes` to the clang preprocessor. - Resource files, (bitmaps, icons, manifests, etc) that are used in the resource file. The output format matches the `/showIncludes` format that cl.exe and clang-cl.exe use, and that Ninja can consume natively via `deps=msvc`. Assisted-by: Anthropic Claude Code (Opus 4.8) Assisted-by: OpenAI Codex (GPT 5.6 Sol)
Author
Parents
Loading