Re: [cmake-developers] Tools for handling cross project dependencies

2017-10-02 Thread Raffi Enficiaud
Le 02.10.17 à 18:06, Egor Pugin a écrit : Sorry, maybe I did not understand you correctly, but why do you need some order of 'add_subdirectory'? I am not sure to understand why you are asking this, please let me know if I am off-topic :) I have say libOpenCV, libTIFF and libZ. libTIFF

Re: [cmake-developers] CMP0071

2017-10-02 Thread Sebastian Holtermann
On Montag, 2. Oktober 2017 06:58:31 CEST Brad King wrote: > On 09/26/2017 12:55 PM, clin...@elemtech.com wrote: > > https://bugreports.qt.io/browse/QTBUG-63442 > > Please take a look at the proposed fix: > > https://codereview.qt-project.org/#/c/207327/ I dropped a few comments. -Sebastian

Re: [cmake-developers] Tools for handling cross project dependencies

2017-10-02 Thread Raffi Enficiaud
Le 27.09.17 à 19:10, Egor Pugin a écrit : The idea is to include several "packages" (one package ~ one project in Boost) and make those available to the build, exactly as for a regular CMakeLists.txt that adds several directories or subprojects through a sequence of calls to "add_directories".

Re: [cmake-developers] Why does CMAKE_CXX_STANDARD set 'gnu' flags?

2017-10-02 Thread Nikola Smiljanic
Thanks Brad, so setting CXX_EXTENSIONS to off will switch me to 'standard' compliant mode? On Mon, Oct 2, 2017 at 10:01 PM, Brad King wrote: > On 10/01/2017 08:29 PM, Nikola Smiljanic wrote: > > I'd like to know why CMake uses 'gnu' flags when setting C++ standard. > > I

Re: [cmake-developers] Why does CMAKE_CXX_STANDARD set 'gnu' flags?

2017-10-02 Thread Brad King
On 10/02/2017 07:24 AM, Nikola Smiljanic wrote: > Thanks Brad, so setting CXX_EXTENSIONS to off will switch me to > 'standard' compliant mode? Yes. It can be done for all targets on creation by using the CMAKE_CXX_EXTENSIONS variable:

Re: [cmake-developers] Why does CMAKE_CXX_STANDARD set 'gnu' flags?

2017-10-02 Thread Brad King
On 10/01/2017 08:29 PM, Nikola Smiljanic wrote: > I'd like to know why CMake uses 'gnu' flags when setting C++ standard. > I find this very surprising as 'gnu' mode enables non standard extensions? Setting the standard level should not affect the extensions, and the compiler's default mode

Re: [cmake-developers] CMP0071

2017-10-02 Thread Brad King
On 09/26/2017 12:55 PM, clin...@elemtech.com wrote: > https://bugreports.qt.io/browse/QTBUG-63442 Please take a look at the proposed fix: https://codereview.qt-project.org/#/c/207327/ Thanks, -Brad -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at:

Re: [cmake-developers] CMake 3.10 feature freeze on 2017-10-02

2017-10-02 Thread Brad King
On 09/12/2017 11:53 AM, Brad King wrote: > The feature freeze in 'master' for CMake 3.10 will be on Oct 2, 2017. > I may announce a freeze in 'stage' sometime in the preceding week so > that we can get any remaining dashboard trouble cleaned up. In order to get 'master' ready to branch for 3.10,

Re: [cmake-developers] Tools for handling cross project dependencies

2017-10-02 Thread Egor Pugin
Sorry, maybe I did not understand you correctly, but why do you need some order of 'add_subdirectory'? Cppan knows from config (yaml) files what deps must be included and just adds them one by one. If they're already in the tree, include guard prevents second use. One rule is not to have cyclic