[cmake-developers] Listing all targets (was: Wrapping functions in CMake)

David Cole DLRdave at aol.com
Fri Jul 17 12:18:18 EDT 2015


Are you saying there should be a named GLOBAL property with this
information in it...?

It seems like more of a fit to get_cmake_property.

On Fri, Jul 17, 2015 at 10:14 AM, Ben Boeckel <ben.boeckel at kitware.com> wrote:
> On Thu, Jul 16, 2015 at 13:27:12 -0400, David Cole via cmake-developers wrote:
>> This would best be added as a "TARGETS" variant of the existing
>> http://www.cmake.org/cmake/help/v3.3/command/get_cmake_property.html
>> command.
>>
>> (In my opinion...)
>
> The get_property command would also need to handle it. I don't know if
> it hooks into the more specific commands' implementations though.
> Doesn't seem like it from a cursory reading though.
>
> --Ben


More information about the cmake-developers mailing list