Open Zeblote opened 4 years ago
I suppose you will have to painstakingly fix all the errors for it to work -- its hard to guess at what the issues will be. I would expect it to be feasible but I am not surprised it doesn't just work since its not something we have done. Probably you can use the linux specific code blocks for some of the fixes.
@Zeblote Did you manage to make progress on this? I'm also interested, how about we put together a fork and try to sort out the issues? Anyone else interested in this? I'm moving my projects over to clang-cl, and PhysX is the one hold-up currently.
Unfortunately I didn't get to experiment more with it yet, but I'd definitely like to try it out if you manage to make it work!
but I'd definitely like to try it out if you manage to make it work!
The offer was for working together to make it work. xD
Epic recently added support for compiling Unreal Engine with clang for win64, and it seems to result in all around slightly better code. So it'd be interesting to try this for physx aswell!
Unfortunately I can't figure out how to do it correctly.
I've attempted to use it as explained here (https://gitlab.kitware.com/cmake/cmake/issues/19174#note_558724), by installing the plugin and adding the
-T llvm
tocmake_generate_projects.py
. This appears to work properly for generating the cmake projects:But it doesn't compile like that. Guess it's not that simple :(
Any ideas what I have to do differently for this to actually work?