New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clang / Windows Build #40
Comments
@Squareys can you comment here? I don't remember the particulars or how far we got when we tried the last time. |
Hey @primesoftware ! You need a special cmake command to tell cmake to use clang in the MSVC project: I am unsure if this works, though. I think the cmake still thinks you are using the MSVC compiler and tries to compile with MSVC 15 specific code... This is what I used back then, but not guarantee that works or even worked back then, it's been a while. Let me know if you get it to work! :) |
I got it to work!! I added this toolset (https://github.com/WubbaLubba/LlvmForVS2017) to VS and used the command:
Then I followed the instructions on how to build the rest of the way. Now to see if I can get Magnum to work too... |
Wow, this is amazing, thank you! I think we should add this to the AppVeyor build now :) |
I will have to see if the downloadable SDL dll will work with LLVM code otherwise in order to use clang/llvm with Magnum folks might have to rebuild their required libraries like SDL, GLFW, etc. |
I would like to build with clang (llvm-windows). I don't see the options in the CMake to do so though as it defaults to MSVC. Can corrade be built with LLVM's clang?
The text was updated successfully, but these errors were encountered: