Re: [CMake] MSVC15 variable available for Visual Studio 2017

2017-01-11 Thread Brad King
On 01/11/2017 08:33 AM, Gregor Jasny via CMake wrote: > I wonder if there is a reason why no MSVC15 variable is available for > Visual Studio 2017? The values correspond to the toolset versions: * https://cmake.org/cmake/help/v3.7/variable/MSVC14.html and VS 2017 uses toolset version v141 which

[CMake] MSVC15 variable available for Visual Studio 2017

2017-01-11 Thread Gregor Jasny via CMake
Hello, I wonder if there is a reason why no MSVC15 variable is available for Visual Studio 2017? I'm using those MSVCxx variables and CMAKE_GENERATOR_TOOLSET to detect the active toolset: # Visual Studio 2008 if((MSVC90 AND "${CMAKE_GENERATOR_TOOLSET}" STREQUAL "") OR (CMAKE_GENERATOR_TO