Build files

How is the LLVM toolchain built for Windows?

I’m working on VS integration.

Like, in Xcode, the actual *.xctoolchain bundle is built using the regular cmake files, plus using the cmake build script in tools/xcode-toolchain, what is the windows equivalent?

is it literally just the stuff in tools/msbuild, or is there more to it than that?

CMake can also generate Visual Studio project/solution files. The documentation recommends the CMake GUI:

however you can also run CMake from the CMD shell if you prefer. I have

cmake –G “Visual Studio 14 Win64” –Thost=x64 …\llvm-project\llvm

in my script, running on a 64-bit Windows PC with Visual Studio 2015 (aka version 14) installed.

I am unfamiliar with how the Visual Studio integration works, but I suspect you need to do the above and actually build the compiler first.



Like I said, I don’t know how the integration works. Very very few people have ever touched that stuff.

You could try asking the list again, with a subject line that was more descriptive; that might get the attention of people who could answer your question.

Sorry I can’t be more help.