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