Skip to content

Make the Ninja and Makefile generators use the pre-processed RC file when using llvm-rc

When compiling an RC file with llvm-rc the source file must be preprocessed as no preprocessor step is handled in llvm-rc. The Ninja and Makefile generators forced to invoke the preprocessor before the rc file compilation through internal variables. This is applied when the RC compiler is detected to be llvm-rc when targeting windows with the clang toolchain.

Merge request reports