make.org
> Subject: Re: [CMake] Visual Studio 12 C++ Compiler Detection
>
> Hi Jakub: Thanks for the tip. What is the proper way to execute the compiler
> during the initial configure step? try_compile?
>
> Thanks,
> Allen
>
> > So, it appears to find the com
Hi Jakub: Thanks for the tip. What is the proper way to execute the compiler
during the initial configure step? try_compile?
Thanks,
Allen
> So, it appears to find the compiler OK since it emits the correct compiler
> identification. But, the actual value of CMAKE_CXX_COMPILER is not usable. If
> So, it appears to find the compiler OK since it emits the correct compiler
> identification. But, the actual value of CMAKE_CXX_COMPILER is not usable. If
> you try to execute
> C:/Program…./x86_amd64/cl.exe from within a CMake script or even from the
> command line, it will fail and produce
Hi: I'm trying to create a 64-bit Visual Studio 12 (aka 2013) project with
CMake 3.0.2. My CMakeLists.txt file is really simple:
cmake_minimum_required( VERSION 3.0 )
project( cmc CXX )
# What compiler did we find?
message( "C++: ${CMAKE_CXX_COMPILER}" )
>From a windows shell I do:
> c:\Program