My goal is to use some new c++11 features if they are available,
otherwise to stick to the c++03 features. I need to build test programs
that check for correctness as well as distribute an include file library.
Is there a way in cmake to detect if c++11 is available and to use it
when it is av
On 2013-02-19 18:36, Brad Bell wrote:
My goal is to use some new c++11 features if they are available,
otherwise to stick to the c++03 features. I need to build test programs
that check for correctness as well as distribute an include file library.
In general, you should test for specific featu
ell
> Sent: Tuesday, February 19, 2013 4:36 PM
> To: cmake@cmake.org
> Subject: [CMake] detecting if c++11 available
>
> My goal is to use some new c++11 features if they are available, otherwise
> to stick to the c++03 features. I need to build test programs that check for
&
Hello Brad,
Am Mittwoch, 20. Februar 2013, 00:36:18 schrieb Brad Bell:
> My goal is to use some new c++11 features if they are available,
> otherwise to stick to the c++03 features. I need to build test programs
> that check for correctness as well as distribute an include file library.
>
> Is th
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Nowadays, asking for c++-11 is probably too coarse as implementations
are usually uncomplete. So you have a stdc++-11 switch and still
missing some features on which you rely.
Another technique is to test features instead of the whole standard,
that w
n Eikel
Cc: cmake@cmake.org
Subject: Re: [CMake] detecting if c++11 available
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Nowadays, asking for c++-11 is probably too coarse as implementations are
usually uncomplete. So you have a stdc++-11 switch and still missing some
features on which you rely