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
--
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