[CMake] Making sure dependent projects are up-to-date

2018-01-12 Thread Saad Khattak
Hi, Let's say I have several CMake enabled libraries that have their own respective build directories and have been installed: LibA LibB (depends on A) LibC LibD (depends on LibC and LibA) I then create a new executable project ProjExe that depends on LibD. Now, I am working on LibA, LibB, LibC,

[CMake] Querying CMake variables of external CMake projects

2018-01-12 Thread Saad Khattak
Hi, Say I find LibA using find_package(LibA) and I now have access to LibA_DIR, which is the build folder of LibA. Is there a way I can query additional variables, such as LibA's source directory, install directory etc. i.e. variables that are defined by CMake when LibA was being generated/built b

Re: [CMake] Get find_package to choose INSTALLed libraries instead of libraries in the build folder

2018-01-12 Thread Saad Khattak
Thank you Marc. That's interesting, I was not aware that they were relinked. I thought they were just copied. I guess I'll have to provide the install directory to pick the libraries found in the install directory instead of the build directory? Regards, Saad On Fri, Jan 12, 2018 at 2:57 AM CHE

Re: [CMake] Source file property INCLUDE_DIRECTORIES

2018-01-12 Thread CHEVRIER, Marc
Sure. APPEND keyword is handled at a high level (i.e. regardless the property evolved). From: J Decker Date: Friday 12 January 2018 at 15:03 To: "CHEVRIER, Marc" Cc: CMake Mail List Subject: Re: [CMake] Source file property INCLUDE_DIRECTORIES On Fri, Jan 12, 2018 at 5:26 AM, CHEVRIER, Marc

Re: [CMake] Source file property INCLUDE_DIRECTORIES

2018-01-12 Thread J Decker
On Fri, Jan 12, 2018 at 5:26 AM, CHEVRIER, Marc wrote: > Because this property is not yet supported for source files (see #17507 > ). > > FYI, I worked on this support and the merge request is under process… (see > !1596

Re: [CMake] Source file property INCLUDE_DIRECTORIES

2018-01-12 Thread CHEVRIER, Marc
Because this property is not yet supported for source files (see #17507). FYI, I worked on this support and the merge request is under process… (see !1596). From: CMake on behalf of

[CMake] Source file property INCLUDE_DIRECTORIES

2018-01-12 Thread J Decker
Why can't I set INCLUDE_DIRECTORIES for a source file? https://cmake.org/cmake/help/v3.0/manual/cmake-properties.7.html I can probably use COMPILE_FLAGS ; but how to guarantee that -I is the proper option for every compiler? -- Powered by www.kitware.com Please keep messages on-topic and check

Re: [CMake] Do any CMake back ends have support for parallel builds that efficiently use clusters?

2018-01-12 Thread Alan W. Irwin
On 2018-01-12 13:34+0300 Konstantin Tokarev wrote: 12.01.2018, 12:58, "Alan W. Irwin" : I am looking into the practicality of using clusters containing ~5 cheap ARM 8-core computers (such as the Banana Pi M3) to rapidly build and test software (since even with ccache I am currently spending a

Re: [CMake] Do any CMake back ends have support for parallel builds that efficiently use clusters?

2018-01-12 Thread Alan W. Irwin
On 2018-01-12 11:14+0100 Eric Noulard wrote: 2018-01-12 10:58 GMT+01:00 Alan W. Irwin : I am looking into the practicality of using clusters containing ~5 cheap ARM 8-core computers (such as the Banana Pi M3) to rapidly build and test software (since even with ccache I am currently spending a

Re: [CMake] Do any CMake back ends have support for parallel builds that efficiently use clusters?

2018-01-12 Thread Konstantin Tokarev
12.01.2018, 12:58, "Alan W. Irwin" : > I am looking into the practicality of using clusters containing ~5 > cheap ARM 8-core computers (such as the Banana Pi M3) to rapidly build > and test software (since even with ccache I am currently spending a > lot of my time waiting for tests to complete a

Re: [CMake] Do any CMake back ends have support for parallel builds that efficiently use clusters?

2018-01-12 Thread Eric Noulard
2018-01-12 11:14 GMT+01:00 Eric Noulard : > > > 2018-01-12 10:58 GMT+01:00 Alan W. Irwin : > >> I am looking into the practicality of using clusters containing ~5 >> cheap ARM 8-core computers (such as the Banana Pi M3) to rapidly build >> and test software (since even with ccache I am currently s

Re: [CMake] Do any CMake back ends have support for parallel builds that efficiently use clusters?

2018-01-12 Thread Eric Noulard
2018-01-12 10:58 GMT+01:00 Alan W. Irwin : > I am looking into the practicality of using clusters containing ~5 > cheap ARM 8-core computers (such as the Banana Pi M3) to rapidly build > and test software (since even with ccache I am currently spending a > lot of my time waiting for tests to compl

Re: [CMake] Do any CMake back ends have support for parallel builds that efficiently use clusters?

2018-01-12 Thread Nils Gladitz
On Fri, Jan 12, 2018 at 10:58 AM, Alan W. Irwin wrote: > I am looking into the practicality of using clusters containing ~5 > cheap ARM 8-core computers (such as the Banana Pi M3) to rapidly build > and test software (since even with ccache I am currently spending a > lot of my time waiting for t

[CMake] Do any CMake back ends have support for parallel builds that efficiently use clusters?

2018-01-12 Thread Alan W. Irwin
I am looking into the practicality of using clusters containing ~5 cheap ARM 8-core computers (such as the Banana Pi M3) to rapidly build and test software (since even with ccache I am currently spending a lot of my time waiting for tests to complete as I develop my software). Such clusters would

Re: [CMake] test depending on code compilation

2018-01-12 Thread Franck Houssen
- Mail original - > De: "Mario Werner" > À: cmake@cmake.org > Envoyé: Vendredi 12 Janvier 2018 09:38:50 > Objet: Re: [CMake] test depending on code compilation > > On 2018-01-11 18:03, Franck Houssen wrote: > > > > > > - Mail original - > >> De: "Mario Werner" > >> À: cmake@c

Re: [CMake] test depending on code compilation

2018-01-12 Thread Mario Werner
On 2018-01-11 18:03, Franck Houssen wrote: > > > - Mail original - >> De: "Mario Werner" >> À: cmake@cmake.org >> Envoyé: Jeudi 11 Janvier 2018 16:27:18 >> Objet: Re: [CMake] test depending on code compilation >> > [snip] > >>> 2) Also the verbosity is broken with check : make test ARGS=