[CMake] Wrong version of cl.exe for x64

J Decker d3ck0r at gmail.com
Mon Aug 22 04:28:40 EDT 2016


Maybe you need a diferent parameter to vcvarsall before running cmake

https://msdn.microsoft.com/en-us/library/x4d2c09s.aspx

On Mon, Aug 22, 2016 at 1:01 AM, Nils Gladitz <nilsgladitz at gmail.com> wrote:

> On 08/22/2016 09:27 AM, tonka tonka wrote:
>
> 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.
>>
>>
> I don't think CMake chooses the compiler when using the visual studio
> generators.
> Visual Studio chooses and CMake just records that choice in
> CMAKE_<LANG>_COMPILER.
>
> Nils
>
> --
>
> 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/opensou
> rce/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20160822/2f815f53/attachment.html>


More information about the CMake mailing list