<div dir="ltr"><div>I'm trying to build LLVM on Windows 10 for x86_64. The cmake cmdline I used is</div><div><br></div><div><font face="monospace, monospace">c:\cmake-3.8.0-rc1-win64-x64\bin\cmake.exe -DLLVM_TARGETS_TO_BUILD=x86_64 -G "Visual Studio 14" .<br></font></div><div><br></div><div>And this ultimately gives me:</div><div><br></div><div><font face="monospace, monospace">llvm-build: error: invalid target to enable: 'x86_64' (not in project)</font></div><div><br></div><div>The source I'm trying to build is the llvm-3.8.0.src.tar.xz I got from <a href="http://releases.llvm.org/download.html">http://releases.llvm.org/download.html</a></div><div><br></div>If I don't specify LLVM_TARGETS_TO_BUILD or I set it to "X86", cmake completes fine, and I can build the solution (but it gives me 32-bit binaries)<div><br></div><div>What am I doing wrong?</div><div><br></div><div>John</div></div>