How to generate 64 bit Visual Studio project for LLVM using CMake?

余生颓废 提交于 2019-12-10 15:54:13

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!