Hi Brad, I am using a modified version of the code examples offered at http://pageant.ghulbus.eu/ "C++11 Detection with CMake" from February 15, 2012.
-kt > -----Original Message----- > From: [email protected] [mailto:[email protected]] On Behalf Of > Brad Bell > Sent: Tuesday, February 19, 2013 4:36 PM > To: [email protected] > 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 > 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 available ? I would like this to be system and compiler independent. > > > > -- > > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the CMake FAQ at: > http://www.cmake.org/Wiki/CMake_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.cmake.org/mailman/listinfo/cmake -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
