Except that you have CMAKE_SYSTEM_PROCESSOR == &quot;x86&quot; (event for &quot;Win64&quot; generators) in your CMake files along with all search paths which sometimes very inconvenient.<br><br><div class="gmail_quote">On Fri, Oct 12, 2012 at 5:31 PM, John Drescher <span dir="ltr">&lt;<a href="mailto:drescherjm@gmail.com" target="_blank">drescherjm@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">&gt; I noticed that there is cmake binary package for Windows x64. Should a<br>
&gt; 32-bit cmake (under syswow6432) be adequate for all cmake tasks? If<br>
&gt; not, what is the right way to build cmake for 64-bit. I tried building<br>
&gt; it on a 32-bit build server using the 64 bit generator (this build<br>
&gt; server routinely does 64-bit cross compiles). However, apparently some<br>
&gt; of the products of the 64-bit build are run to generate sources that<br>
&gt; are built by other parts of the build. This being a 32-bit box does<br>
&gt; not allow that and hence the cross-compile to 64-bit failed.<br>
&gt;<br>
<br>
</div>32 bit cmake works fine for 64 bit builds on x64. I use this almost<br>
every day for the last 3+ years..<br>
<span class="HOEnZb"><font color="#888888"><br>
John<br>
</font></span><div class="HOEnZb"><div class="h5">--<br>
<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</div></div></blockquote></div><br>