[cmake-developers] Wrong cxx-extension flags
Brad King
brad.king at kitware.com
Thu Jul 14 13:35:06 EDT 2016
On 07/14/2016 01:13 PM, Kornel Benko wrote:
> -- The CXX compiler identification is GNU 6.1.0
> -- CMAKE_CXX11_EXTENSION_COMPILE_OPTION = -std=gnu++11
> I expected here "-- CMAKE_CXX11_EXTENSION_COMPILE_OPTION = -std=c++14".
That is the option for C++11 with extensions. See
CMAKE_CXX14_EXTENSION_COMPILE_OPTION for C++14 with extensions.
Both of these are internal table entries for CMake's generators
and not meant for direct use by projects.
What are you actually trying to do?
-Brad
More information about the cmake-developers
mailing list