[cmake-developers] C++11 support?

Brad King brad.king at kitware.com
Fri Nov 13 13:48:29 EST 2015


On 11/13/2015 01:08 PM, Robert Dailey wrote:
> Just to be clear, does CMake code base allow for C++11 or higher?
> or are you guys locked down to C++03?

The latter.  We don't allow C++11 in our main source code yet.
We still support hosting builds on compilers that do not support it.

We do actually build with flags for C++11 on several compilers
and use C++11 conditionally in a few places for optimizations,
but there is always a C++98 fallback.

-Brad



More information about the cmake-developers mailing list