[CMake] VS2015 and toolset v110

Lars laasunde at hotmail.com
Tue Jun 21 10:28:36 EDT 2016


Hello,
 
Environment is Windows 7sp1, CMake 3.5.2 and Visual Studio 2015 Pro.
 
Running below command in MSBuild Command prompt for VS2015 shell;
cmake -DCMAKE_BUILD_TYPE=Release -G "Visual Studio 14 2015" -T v110 ../src
 
output is;
The c compiler identification is unknown
The cxx compiler identification is unknown
No CMAKE_C_COMPILER could be found
No CMAKE_CXX_COMPILER could be found
 
Updating command with different toolset (same shell)
cmake -DCMAKE_BUILD_TYPE=Release -G "Visual Studio 14 2015" -T v140 ../src
 
output is;
The c compiler identification is MSVC 19.0.23..
The cxx compiler identification is MSVC 19.0.23..
check for working c compiler using Visual Studio 14 2015
check for working c compiler using Visual Studio 14 2015 -- works
 
Using toolset v140 appears to find the compiler but using v100 or v110 or vs120 does not work. Why is this happening?
 
The second example using v140 actually also fails but that is because it is trying to find boost_math_c99_v140 library which does not exists (we use v110 library).
 
(and no, I cannot change toolset at the moment)
 
Kind regards, Lars
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20160621/e2a48c25/attachment.html>


More information about the CMake mailing list