Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
garymacindoe opened this issue Feb 16, 2016 · 0 comments
Assignees

Comments

@garymacindoe
Copy link
Collaborator

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.

@garymacindoe garymacindoe self-assigned this Feb 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant