5

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.

Sanjit Kumar Mishra
  • 1,153
  • 13
  • 32

1 Answers1

6

You need to choose the Visual Studio 15 2017 Win64 generator using the option -G.

arrowd
  • 33,231
  • 8
  • 79
  • 110