<div>Question: Why does the cmake build for Win32 only target Win32, whereas the default make build targets all platforms?</div>
<div> </div>
<div>Question: Does the buildbot build for Win32 build for all targets (in case I check in some platform-specific LLVM tests)?</div>
<div> </div>
<div>Here's a patch for the Getting Started page to tell people how to change the targets:</div>
<div> </div>
<div>Index: www/get_started.html<br>===================================================================<br>--- www/get_started.html (revision 117673)<br>+++ www/get_started.html (working copy)<br>@@ -145,6 +145,10 @@<br>
<li><tt>cd ..</tt> (Change directory back to the llvm top.)</li><br> <li>If you are using Visual Studio 2005: <tt>cmake .</tt></li><br> <li>Or if you are using Visual Studio 2008: <tt>cmake -G "Visual Studio 9 2008" .</tt></li><br>
+ <li>By default, cmake will target LLVM to X86. If you want all targets<br>+ (needed if you want to run the LLVM tests), add the <tt>-DLLVM_TARGETS_TO_BUILD=all</tt> option to the<br>+ cmake command line. Or specify a target from the LLVM_TARGETS_TO_BUILD<br>
+ definition in CMakeLists.txt.</li><br> <li>The above, if successful, will have created an LLVM.sln file in the<br> llvm directory.<br> </ul><br></div>
<div>May I check it in?</div>
<div> </div>
<div>-John<br clear="all"><br>-- <br>John Thompson<br><a href="mailto:John.Thompson.JTSoftware@gmail.com">John.Thompson.JTSoftware@gmail.com</a><br><br></div>