Skip to content

Add support for cmake's builtin feature detection with Intel compilers #42

@garymacindoe

Description

@garymacindoe

CMake has its own built-in detection for C and C++ standards which can be used by specifying target_compile_features(myexe ...) for each target executable/library with a list of features required from a list of known C features or known C++ features.

This requires CMake to know which compilers require which flags to activate which features. Currently CMake 3.4 has feature support for AppleClang, Clang, GNU, MSVC and SunPro compilers.

I have been using a standalone IntelCompileFeatures.cmake file which adds this support for Intel Compilers.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions