Re: [CMake] Setting CXX_STANDARD 11 Enables GNU Extensions

2015-07-05 Thread Michael Jackson
Cool, I think that is what I want. -- Mike Jackson Roman Wüger wrote: Hi, you must set the following in the root CMakeLists.txt file: set(CMAKE_CXX_STANDARD 11) set(CMAKE_CXX_STANDARD_REQUIRED ON) Did you mean that? http://www.cmake.org/cmake/help/v3.2/variable/CMAKE_CXX_STANDARD.html ht

Re: [CMake] Setting CXX_STANDARD 11 Enables GNU Extensions

2015-07-05 Thread Roman Wüger
Hi, you must set the following in the root CMakeLists.txt file: set(CMAKE_CXX_STANDARD 11) set(CMAKE_CXX_STANDARD_REQUIRED ON) Did you mean that? http://www.cmake.org/cmake/help/v3.2/variable/CMAKE_CXX_STANDARD.html http://www.cmake.org/cmake/help/v3.2/variable/CMAKE_CXX_STANDARD_

Re: [CMake] Setting CXX_STANDARD 11 Enables GNU Extensions

2015-07-05 Thread Michael Jackson
Is there a project wide CXX_STANDARD_REQUIRED that I can set? I am wanting to migrate our project to C++ 11 and would rather set something in the project root rather than find every place where our own and our customers plugin codes create a target. Thanks Mike Jackson On Jul 4, 2015, at 5:13