[CMake] Intel compilers with Visual Studio Project on Windows

Nicholas Kinar n.kinar at usask.ca
Thu Feb 28 20:32:30 EST 2013


Hello,

I am wondering if there is a way to have Cmake use Intel compilers on 
Windows when generating a Visual Studio project file.  Searching around 
the Internet, I found that the following might be used to do this within 
the CMakeLists.txt file:

set_target_properties(inv_spline_interp PROPERTIES PLATFORM_TOOLSET 
"Intel C++ Compiler XE 12.1")

Is this the case for the current version of Cmake, or is a patch 
required?  How do I select the string "Intel C++ Compiler XE 12.1" for 
the most recent version of the Intel compilers?

Thank you,

Nicholas


More information about the CMake mailing list