问题
I have downloaded LLVM source repository form http://releases.llvm.org/download.html.
Now when I am running CMAKE in the source directory it is generating 32bit Visual Studio Projects but I want to generate 64 bit visual studio projects. If someone has already tried please help.
I have gone through the document https://llvm.org/docs/GettingStartedVS.html and certainly as mentioned -Thost=x64
option is not working.
回答1:
You need to choose the Visual Studio 15 2017 Win64
generator using the option -G
.
来源:https://stackoverflow.com/questions/47766836/how-to-generate-64-bit-visual-studio-project-for-llvm-using-cmake