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

Levi Morrison morrison.levi at gmail.com
Tue Nov 17 16:07:25 EST 2015


>
> Also after fixing the above I see in
> Tests/CompileFeatures/CMakeFiles/CMakeOutput.log the following:
>
>     Detecting CXX [-std=c++14] compiler features compiled with the
> following output:
>     ...
>     icpc: command line warning #10159: invalid argument for option '-std'
>
> This is with Intel 15.
>
> More work may be needed to choose the proper flag based on the
> version and platform:
>
>
> https://software.intel.com/en-us/articles/c14-features-supported-by-intel-c-compiler
>  "C++14 features can enabled by using /Qstd=c++14 on Windows
>   and -std=c++14 on Linux and Mac OS X"
>
> Thanks,
> -Brad
>

Hmm. Can you tell me what the value of -std was for that invocation?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20151117/c33b0535/attachment.html>


More information about the cmake-developers mailing list