[cmake-developers] Why does CMAKE_CXX_STANDARD set 'gnu' flags?
popizdeh at gmail.com
Mon Oct 2 07:24:20 EDT 2017
Thanks Brad, so setting CXX_EXTENSIONS to off will switch me to 'standard'
On Mon, Oct 2, 2017 at 10:01 PM, Brad King <brad.king at kitware.com> wrote:
> On 10/01/2017 08:29 PM, Nikola Smiljanic wrote:
> > I'd like to know why CMake uses 'gnu' flags when setting C++ standard.
> > I find this very surprising as 'gnu' mode enables non standard
> Setting the standard level should not affect the extensions, and the
> default mode includes extensions. There is a separate property for
> It is ON by default since most compilers have extensions on by default.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cmake-developers