[CMake] CMake problem with intel parallel studio 2017
Brad King
brad.king at kitware.com
Fri Jun 9 12:44:42 EDT 2017
On 06/09/2017 11:51 AM, Mamales, Petros wrote:
> how is the specification of the toolset (from command line) translates
> to the modules folder in CMake?
The -T option specifies the CMAKE_GENERATOR_TOOLSET:
https://cmake.org/cmake/help/v3.9/variable/CMAKE_GENERATOR_TOOLSET.html
That value tells the VS generator what to put in the PlatformToolset
field of .vcxproj files. This influences how the compiler identification
source is compiled, and that uses preprocessor logic to detect the compiler
id and version based on predefined macros. The resulting compiler id is
used to decide which compiler/platform information modules to load.
-Brad
More information about the CMake
mailing list