[cmake-developers] Add CXX_STANDARD support for Intel C++ compilers

Brad King brad.king at kitware.com
Mon Nov 16 11:49:11 EST 2015


On 11/16/2015 11:46 AM, Levi Morrison wrote:
> should I bound this by versions that exist? For instance, there is no
> Intel 17.0 so should I limit this?

No.  For other compilers we just assume newer versions are at least
as capable as previous versions and are compatible with the needed
options and such.  See Modules/Compiler/GNU-CXX.cmake for an example
of how the settings vary based on compiler version.

Note that the Intel compiler may be tricky because it simulates MSVC
on Windows and GNU elsewhere.  The needed options may vary across
platforms, and our tables need to reflect this.

Thanks,
-Brad



More information about the cmake-developers mailing list