Re: [CMake] Adding cache entries to cmake gui

2017-01-30 Thread Edward Diener
On 1/30/2017 4:44 AM, Nils Gladitz wrote: On 01/30/2017 12:44 PM, Edward Diener wrote: Using the cmake gui program of the latest cmake 3.7.2 I add a cache entry of CMAKE_CXX_FLAGS to some compile flag value, but as soon as I hit the generate button the cache entry disappears and is no longer re

Re: [CMake] CMake 3.7.2 and parallel builds

2017-01-30 Thread Nils Gladitz
On 01/30/2017 02:26 PM, Dave Flogeras wrote: On Sun, Jan 29, 2017 at 9:53 AM, Nils Gladitz > wrote: FWIW I don't think -j does anything when you build the NightlyBuild target given that that make invocation is not the one directly performing the actual

Re: [CMake] CMake 3.7.2 and parallel builds

2017-01-30 Thread Dave Flogeras
On Sun, Jan 29, 2017 at 9:53 AM, Nils Gladitz wrote: > FWIW I don't think -j does anything when you build the NightlyBuild target > given that that make invocation is not the one directly performing the > actual build. > The only command being run by the NightlyBuild target would be "ctest -D > N

Re: [CMake] Adding cache entries to cmake gui

2017-01-30 Thread Nils Gladitz
On 01/30/2017 12:44 PM, Edward Diener wrote: Using the cmake gui program of the latest cmake 3.7.2 I add a cache entry of CMAKE_CXX_FLAGS to some compile flag value, but as soon as I hit the generate button the cache entry disappears and is no longer retained. Is CMAKE_CXX_FLAGS no longer a va

[CMake] Adding cache entries to cmake gui

2017-01-30 Thread Edward Diener
Using the cmake gui program of the latest cmake 3.7.2 I add a cache entry of CMAKE_CXX_FLAGS to some compile flag value, but as soon as I hit the generate button the cache entry disappears and is no longer retained. Is CMAKE_CXX_FLAGS no longer a valid cmake variable ? If it is not a valid cmak

[CMake] Not being able to create a 'link' interface for an OBJECT library

2017-01-30 Thread Jakob van Bethlehem
Dear all, Recently I read the excellent tip of creating a 'link interface' for an OBJECT library in order to overcome the inability to directly link an OBJECT library, see: https://cmake.org/cmake/help/v3.5/manual/cmake-buildsystem.7.html#object-libraries This sounded like a perfect idea, so I tr