Windows.Kits.cmake attempts to configure rc.exe as the resource compiler, but when using the Clang toolchain sometimes llvm-rc is used instead - as called out in #20. By setting CMAKE_RC_COMPILER_INIT (and not CMAKE_RC_COMPILER) rc.exe is used in all cases.
This issue was discovered when trying to get a CI Workflow setup (tracked by #22) since the CMAKE_RC_FLAGS_INIT variable is set to /nologo which llvm-rc doesn't support. The CI should provide some test coverage of this scenario.
Windows.Kits.cmake
attempts to configurerc.exe
as the resource compiler, but when using the Clang toolchain sometimesllvm-rc
is used instead - as called out in #20. By settingCMAKE_RC_COMPILER_INIT
(and notCMAKE_RC_COMPILER
)rc.exe
is used in all cases.This issue was discovered when trying to get a CI Workflow setup (tracked by #22) since the
CMAKE_RC_FLAGS_INIT
variable is set to/nologo
whichllvm-rc
doesn't support. The CI should provide some test coverage of this scenario.