[cmake-developers] Add CXX_STANDARD support for Intel C++ compilers
Levi Morrison
morrison.levi at gmail.com
Tue Nov 17 16:34:26 EST 2015
On Tue, Nov 17, 2015 at 2:07 PM, Levi Morrison <morrison.levi at gmail.com>
wrote:
> 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?
>
>
Hazarding a guess I think it might be gnu++14 – can you confirm this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20151117/97c8e199/attachment.html>
More information about the cmake-developers
mailing list