Hey,

I have recently switched to cmake (instead of plain visual studio).
Now i discovered a problem.cmake choose the wrong cl.exe for my x64 project.
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).
Cmake should choose bin/amd64/cl.exe to use a “real“ x64 compiler.

Does anybody know how I can tell cmake to do that?

Compiler: visual studio 2010 sp1
OS: win 7 x64
Cmake: 3.4.3

Greetings
Tonka
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to