[cmake-developers] Recording compiler features for older gcc versions
Brad King
brad.king at kitware.com
Mon Jan 9 14:36:56 EST 2017
On 01/09/2017 04:59 AM, Rolf Eike Beer wrote:
> I need for several projects the ability to set CMAKE_C_STANDARD on older
> compilers
I think it would be fine to add the minimum infrastructure needed for
that and then just disable the WCDH and Tests/* pieces that don't work
with it. We could also just not document this support. Until more
people are interested in it that have time to implement it fully, I don't
think we need to fully support it beyond your use case.
> -the standard check for working features is currently auto_type, which is not
> supported by older compilers. Basically all support long_long_type,
I'm hesitant to switch to long_long_type because that is often supported
by compilers in C++98 mode, so it may defeat the test.
Thanks,
-Brad
More information about the cmake-developers
mailing list