<p dir="ltr">Yes, i definitely choose the Win64 version.</p>
<div class="gmail_extra"><br><div class="gmail_quote">Am 22.08.2016 09:50 schrieb "Kristian" <<a href="mailto:kristianonline28@gmail.com">kristianonline28@gmail.com</a>>:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Did you already tried to use the "Visual Studio 10 2010 Win64" generator?<div><br></div><div>* <a href="https://cmake.org/cmake/help/v3.6/generator/Visual%20Studio%2010%202010.html" target="_blank">https://cmake.org/cmake/help/<wbr>v3.6/generator/Visual%<wbr>20Studio%2010%202010.html</a></div><div>* <a href="https://cmake.org/cmake/help/v3.6/manual/cmake-generators.7.html" target="_blank">https://cmake.org/cmake/<wbr>help/v3.6/manual/cmake-<wbr>generators.7.html</a><br><div class="gmail_extra"><br><div class="gmail_quote">2016-08-22 9:27 GMT+02:00 tonka tonka <span dir="ltr"><<a href="mailto:tonka3100@gmail.com" target="_blank">tonka3100@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><p dir="ltr">Hey,</p>
<p dir="ltr">I have recently switched to cmake (instead of plain visual studio).<br>
Now i discovered a problem.cmake choose the wrong cl.exe for my x64 project.<br>
Cmake choose bin/x86_amd64/cl.exe which is the “x64 Cross Tools“. This create x64 binaries, but with my big project I reach a out of memory linker error, because the cl.exe is wrong (this cl.exe is an 32bit compiler which can create x64 binaries).<br>
Cmake should choose bin/amd64/cl.exe to use a “real“ x64 compiler.</p>
<p dir="ltr">Does anybody know how I can tell cmake to do that?</p>
<p dir="ltr">Compiler: visual studio 2010 sp1<br>
OS: win 7 x64<br>
Cmake: 3.4.3</p>
<p dir="ltr">Greetings<span><font color="#888888"><br>
Tonka</font></span></p>
<br>--<br>
<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" rel="noreferrer" target="_blank">http://www.cmake.org/Wiki/CMak<wbr>e_FAQ</a><br>
<br>
Kitware offers various services to support the CMake community. For more information on each offering, please visit:<br>
<br>
CMake Support: <a href="http://cmake.org/cmake/help/support.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/su<wbr>pport.html</a><br>
CMake Consulting: <a href="http://cmake.org/cmake/help/consulting.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/co<wbr>nsulting.html</a><br>
CMake Training Courses: <a href="http://cmake.org/cmake/help/training.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/tr<wbr>aining.html</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensou<wbr>rce/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/cmake" rel="noreferrer" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/cmake</a><br></blockquote></div><br></div></div></div>
</blockquote></div></div>