Skip to content

Conversation

bruchar1
Copy link
Member

The rc.exe resource compiler neither provides depfile support nor
allows showing includes, as is possible with C or C++ compilers.
Therefore, changes to files included by the .rc file did not trigger
recompilation of the resource file.

A workaround was added to meson by calling the preprocessor on the
.rc file to detect the included headers and adding the result as a
dependency to the resource compilation.

@bruchar1 bruchar1 requested a review from jpakkane as a code owner August 29, 2025 12:38
@bruchar1 bruchar1 force-pushed the windows_rc_deps branch 3 times, most recently from 9180f25 to 373c9b6 Compare September 3, 2025 17:51
Copy link
Member

@eli-schwartz eli-schwartz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[doc] fix version for build_config option

We usually use "doc:"

The `rc.exe` resource compiler neither provides *depfile* support nor
allows showing includes, as is possible with C or C++ compilers.
Therefore, changes to files included by the `.rc` file did not trigger
recompilation of the resource file.

A workaround was added to *meson* by calling the preprocessor on the
`.rc` file to detect the included headers and adding the result as a
dependency to the resource compilation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants