Skip to content

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

Open
@garymacindoe

Description

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions