[cmake-developers] FindCXX11.cmake

Rolf Eike Beer eike at sf-mail.de
Fri Apr 6 12:11:46 EDT 2012


Am Mittwoch, 4. April 2012, 10:13:17 schrieb Rolf Eike Beer:
> > Hi!
> > 
> > I'm going to write FinCXX11.cmake that will do the following:
> > * find compiler flags that enable C++11 functionality, and store them in
> > CXX11_CXX_FLAGS;
> > * declare a component for some (each?) new language feature, and test it
> > using check_cxx_source_compiles().
> > 
> > I have a few questions:
> > - for each of supported compilers other than gcc and clang, which flags
> > should I check?
> > - for each new language feature, do you have a minimal code example that
> > check if this feature is available?
> 
> I already have such a macro (for the feature tests, not the compiler flag)
> on my disk. I'll can send you the patches tonight.
> 
> An older version of the patch can be found in
> http://www.mail-archive.com/cmake@cmake.org/msg35421.html

Attached is what I currently have.

Eike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-add-a-module-to-check-C-11-features.patch
Type: text/x-patch
Size: 18096 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20120406/0928e5dd/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20120406/0928e5dd/attachment.sig>


More information about the cmake-developers mailing list