[CMake] CMake problem with intel parallel studio 2017

Mamales, Petros petros.mamales at citi.com
Fri Jun 9 14:27:34 EDT 2017


Thank you very much!
I saw it to be along these lines, by doing (quite) a few "greps" and reading the documentation. The last step is the one I was trying to pin down -;)
All the best,
Petros

-----Original Message-----
From: Brad King [mailto:brad.king at kitware.com] 
Sent: Friday, June 09, 2017 12:45 PM
To: Mamales, Petros [CCC-OT NE]
Cc: CMake
Subject: Re: [CMake] CMake problem with intel parallel studio 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://urldefense.proofpoint.com/v2/url?u=https-3A__cmake.org_cmake_help_v3.9_variable_CMAKE-5FGENERATOR-5FTOOLSET.html&d=DwIC-g&c=j-EkbjBYwkAB4f8ZbVn1Fw&r=6_wuzZXSt4ORpgK3tgk-CcUFf9XSS7xAF6v69MPzaXs&m=ndEV5F8r4x5YENtVn3zcQE4_UrdFQ64ciZs23R-67tc&s=kHqrsGxWzTErzhOGTW390ytAG-PjpuE7WW1uxM7hEoM&e= 

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