[cmake-developers] FindCXX11.cmake

Yury G. Kudryashov urkud.urkud at gmail.com
Wed Apr 4 04:07:14 EDT 2012


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?

Current version of FindCXX11.cmake is attached. This version is not ready 
for review.
-- 
Yury G. Kudryashov,
mailto: urkud at mccme.ru
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FindCXX11.cmake
Type: text/x-cmake
Size: 1892 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20120404/a443cd85/attachment.bin>


More information about the cmake-developers mailing list