mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-04 04:40:56 -06:00
Implement generator toolset selection (cmake -T) for VS >= 10 by setting
the PlatformToolset. Extend the RunCMake.GeneratorToolset test case to
verify CMAKE_GENERATOR_TOOLSET when the generator supports -T.
Since commit 485a940e (VS: Simplify MSVC version reporting, 2012-08-23)
all MSVC version information is detected during the compiler id step
from the actual compiler invoked by generated build systems rather than
hard-coded in VS generators. Therefore we can set the PlatformToolset
in VS >= 10 project files and support toolsets from other VS versions.
5 lines
175 B
Plaintext
5 lines
175 B
Plaintext
CMake Error at TestToolset.cmake:2 \(message\):
|
|
CMAKE_GENERATOR_TOOLSET is "Test Toolset" as expected.
|
|
Call Stack \(most recent call first\):
|
|
CMakeLists.txt:3 \(include\)
|