<div dir="ltr">Available targets should be found at <br><a href="https://github.com/llvm-mirror/llvm/blob/master/CMakeLists.txt#L306">https://github.com/llvm-mirror/llvm/blob/master/CMakeLists.txt#L306</a><br><br>And CMake for Windows should have <br><div>The following generators are available on this platform:</div><div>  Visual Studio 14 2015 [arch] = Generates Visual Studio 2015 project files.</div><div>                                 Optional [arch] can be "Win64" or "ARM".<br><br>So I'd suggest:<br><span style="font-size:12.8px">cmake </span><span style="font-size:12.8px">-DLLVM_TARGETS_TO_BUILD=x86 -G "Visual Studio 14 2015 Win64"<br><br>Regards,</span></div><div><span style="font-size:12.8px">Kevin</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 27, 2017 at 8:22 PM, John Cortell via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks! That should get me on the right track.<div><br></div><div>Direct reply was accidental. Thanks for putting me back on the list :-)</div><div><br></div><div>I'll repost with details once I've got it working.</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 27, 2017 at 10:00 PM, Tim Northover <span dir="ltr"><<a href="mailto:t.p.northover@gmail.com" target="_blank">t.p.northover@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi John,<br>
<br>
[Adding llvm-dev again; best to keep these things in the open so they<br>
show up in future searches].<br>
<span><br>
On 27 February 2017 at 19:46, John Cortell <<a href="mailto:john.cortell@gmail.com" target="_blank">john.cortell@gmail.com</a>> wrote:<br>
> After building the solution cmake gave me (with X86), I got those libraries<br>
> I wanted, but they appear to be 32-bit. I need 64-bit versions.<br>
<br>
</span>Ah, that was my second guess. My limited reading suggests that Windows<br>
has completely separate compilers to produce x64 and x32<br>
libraries/binaries. A bit of grubbing around the internet suggests<br>
CMake exposes this with the CMAKE_GENERATOR_PLATFORM variable, and -A<br>
on the command line. So I'd suggest:<br>
<br>
c:\cmake-3.8.0-rc1-win64-x64\b<wbr>in\cmake.exe<br>
-DLLVM_TARGETS_TO_BUILD=x86_64 -G "Visual Studio 14" -A Win64<br>
<br>
(plus a path to the source). That last argument is a bit of a guess,<br>
but fits in with documentation at<br>
<a href="https://cmake.org/cmake/help/v3.8/generator/Visual%20Studio%2014%202015.html" rel="noreferrer" target="_blank">https://cmake.org/cmake/help/v<wbr>3.8/generator/Visual%20Studio%<wbr>2014%202015.html</a><br>
(for example).<br>
<br>
Hope this works out for you.<br>
<span class="m_-4749262299600420019HOEnZb"><font color="#888888"><br>
Tim.<br>
</font></span></blockquote></div><br></div>
</div></div><br>______________________________<wbr>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a><br>
<br></blockquote></div><br></div>