Re: [cmake-developers] Extend CMAKE__FLAGS(_) from a CMake Toolchain

2017-08-23 Thread maikel van den Hurk
King Verzonden: woensdag 23 augustus 2017 17:33:25 Aan: maikel van den Hurk CC: cmake-developers@cmake.org Onderwerp: Re: [cmake-developers] Extend CMAKE__FLAGS(_) from a CMake Toolchain On 08/23/2017 11:27 AM, maikel van den Hurk wrote: > change ... optimisation from O3 (CMake internal setting)

Re: [cmake-developers] Extend CMAKE__FLAGS(_) from a CMake Toolchain

2017-08-23 Thread maikel van den Hurk
: maikel van den Hurk; cmake-developers@cmake.org Onderwerp: Re: [cmake-developers] Extend CMAKE__FLAGS(_) from a CMake Toolchain On 08/23/2017 09:56 AM, maikel van den Hurk wrote: > I was wondering why there is no ability to define > CMAKE__FLAGS(_) within a CMake Toolchain file, but

[cmake-developers] Extend CMAKE__FLAGS(_) from a CMake Toolchain

2017-08-23 Thread maikel van den Hurk
I was wondering why there is no ability to define CMAKE__FLAGS(_) within a CMake Toolchain file, but still benefit from the CMAKE__INIT_FLAGS(_) detected from CMake internals. Is certain extension considered before? Or are then any reasons to not do this? Would be interested to hear if this is

[cmake-developers] Create target with dependency to all targets similar to 'cmake_check_build_system'

2017-06-27 Thread maikel van den Hurk
I am wondering why there is no entry to create a target which is a dependency for each target like the `cmake_check_build_system`. It feels bit hacky to overload add_dependencies() to achieve this or am I overlooking something. Would something like this be good to add? If yes I could have a look

Re: [cmake-developers] Add property to get all linked libraries including transitive ones

2016-11-09 Thread maikel van den Hurk
16 01:23 Aan: cmake-developers@cmake.org Onderwerp: Re: [cmake-developers] Add property to get all linked libraries including transitive ones Brad King wrote: > On 11/04/2016 09:52 AM, maikel van den Hurk wrote: >> What about doing what was targeted with this bug: >> https://cmake

Re: [cmake-developers] Add property to get all linked libraries including transitive ones

2016-11-04 Thread maikel van den Hurk
Thanks for tracking the issue! Just checked the code and there is the following part https://gitlab.kitware.com/cmake/cmake/blob/v3.6.3/Source/cmGeneratorExpressionNode.cxx#L944 which you will hit when adding LINK_LIBRARIES to the list of items to expand transitively. If I understand this part

Re: [cmake-developers] Add property to get all linked libraries including transitive ones

2016-11-04 Thread maikel van den Hurk
. Van: Brad King Verzonden: donderdag 3 november 2016 12:53 Aan: maikel van den Hurk CC: cmake-developers@cmake.org; Tobias Hunger Onderwerp: Re: [cmake-developers] Add property to get all linked libraries including transitive ones On 11/02/2016 04:23 PM, maikel van den Hurk wrote: >

Re: [cmake-developers] Add property to get all linked libraries including transitive ones

2016-11-02 Thread maikel van den Hurk
We are trying to develop a proper C++ dependency management tool which will combine Ivy together with CMake. Our intention is to open source this this modules later for everyone. As we need to keep track of all dependencies we would like to be able to get all transitive linked libraries to be a

[cmake-developers] Add property to get all linked libraries including transitive ones

2016-11-01 Thread maikel van den Hurk
It would be nice to extend the current properties set of LINK_LIBRARIES and INTERFACE_LINK_LIBRARIES with a property to obtain actually all transitive linked libraries of a specific target. Currently you will have to traverse yourself over all targets to get in CMake a full overview of all linke