Conversation
tobil4sk
commented
Aug 2, 2026
tobil4sk
force-pushed
the
feature/msvc-llvm
branch
from
August 2, 2026 14:30
c8e8380 to
b8e80fb
Compare
|
hope this gets merged |
|
could u guys prioritize llvm-mingw too? it would be great. |
|
It got conflicted. |
For the clang based MSVC toolchain, MSVC_VER doesn't get set, only isMsvc.
clang-cl does not handle pchs in the same way, and it gives a warning when this flag is included.
tobil4sk
force-pushed
the
feature/msvc-llvm
branch
from
September 29, 2026 18:09
b8e80fb to
0d2fe90
Compare
Member
Author
|
It would be possible to implement this for a mac host too, but I don't have a mac to test on myself.
Btw, for now you can do |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds a
-D HXCPP_MSVC_LLVMflag which allows creating msvc builds usingclang-clinstead ofcl.This is useful for native windows builds, however, it also allows cross-compiling msvc binaries from linux by passing
-D HXCPP_MSVC_ROOT=/path/to/msvc-root(msvc libs/headers can be downloaded usingxwinfor example).