-
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pass /no-preprocess flag to llvm-rc 16+
Since LLVM 16, llvm-rc supports doing the preprocessing itself. However, doing so requires having `clang` in the PATH, which some more complex toolchain may not necessarily have (for instance, for windows, you may have `clang-cl` but no `clang` in PATH, or you may have a target-prefixed clang like `x86_64-pc-windows-msvc-clang`). If llvm-rc fails to find clang, it will error out with a message saying it failed to find the program in PATH. To avoid these issues, we continue doing the preprocessing manually, and pass the /no-preprocess flag to llvm-rc.
- Loading branch information
1 parent
dfc4b39
commit 25a77c4
Showing
3 changed files
with
26 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters