From 1e19f93b1e1cfd83e4009c6b664dfccf10aeded6 Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Tue, 25 Nov 2025 11:58:56 +0200 Subject: Revert "Detect dependency changes in Windows rc compiler" This reverts commit 632115ecff3bd7f9cb519098e04e0467b0cfd3a1. --- docs/markdown/Windows-module.md | 7 ++----- docs/markdown/snippets/windows_rc_depfile.md | 10 ---------- 2 files changed, 2 insertions(+), 15 deletions(-) delete mode 100644 docs/markdown/snippets/windows_rc_depfile.md (limited to 'docs/markdown') diff --git a/docs/markdown/Windows-module.md b/docs/markdown/Windows-module.md index 5ae828109..025f046cc 100644 --- a/docs/markdown/Windows-module.md +++ b/docs/markdown/Windows-module.md @@ -20,11 +20,8 @@ Compiles Windows `rc` files specified in the positional arguments. Returns a list of `CustomTarget` objects that you put in the list of sources for the target you want to have the resources in. -*Since 0.61.0* `CustomTargetIndexes` and `CustomTargets` with more than one output -may be used as positional arguments. - -*Since 1.10.0* Changes to included header files are now detected when using -`rc.exe` resource compiler. +*Since 0.61.0* CustomTargetIndexes and CustomTargets with more than out output +*may be used as positional arguments. This method has the following keyword arguments: diff --git a/docs/markdown/snippets/windows_rc_depfile.md b/docs/markdown/snippets/windows_rc_depfile.md deleted file mode 100644 index 8a2c9ac6f..000000000 --- a/docs/markdown/snippets/windows_rc_depfile.md +++ /dev/null @@ -1,10 +0,0 @@ -## windows.compile_resources now detects header changes with rc.exe - -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. -- cgit v1.2.3