[cmake-developers] Listing all targets

David Cole DLRdave at aol.com
Fri Mar 11 18:51:38 EST 2016


Last I did with it is seen here:

https://github.com/dlrdave/CMake/tree/add-targets-to-get-cmake-property?files=1

I abandoned it because of lack-of-time on my part, and the implementation is hacked into cmState... And I didn't have time to wade through and figure out what was being refactored around it at the time.

Anyone is welcome to take it and run with it...


David

> On Mar 11, 2016, at 3:58 PM, Clifford Yapp <cliffyapp at gmail.com> wrote:
> 
>> On Mon, Sep 14, 2015 at 1:47 PM, Stephen Kelly <steveire at gmail.com> wrote:
>> Brad King wrote:
>> 
>>>> On 09/14/2015 11:46 AM, David Cole wrote:
>>>> (1) I see how I can easily move "COMPONENTS" from
>>>> cmGetCMakePropertyCommand::InitialPass to cmState::GetGlobalProperty
>>>> because I can access the global generator from cmState as well...
>>> 
>>> Yes.
>> 
>> I assume you're thinking of getting the global generator from the cmake
>> instance?
>> 
>> That's not appropriate. [...]
> 
>> Making the target names available through properties via cmState is also
>> trivial after targets become first-class parts of cmState (cmState::Target
>> like cmState::Directory).
>> 
>> That can happen sooner (it's on my plate), but required refactoring is also
>> on hold until after CMake 3.4.
> 
> 
> Does anyone recall where the "list all targets" feature ended up?  Is
> it still on hold?  (I apologize if I missed any subsequent discussion
> - just now getting back to this...)
> 
> Cheers,
> CY
> -- 
> 
> Powered by www.kitware.com
> 
> Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ
> 
> Kitware offers various services to support the CMake community. For more information on each offering, please visit:
> 
> CMake Support: http://cmake.org/cmake/help/support.html
> CMake Consulting: http://cmake.org/cmake/help/consulting.html
> CMake Training Courses: http://cmake.org/cmake/help/training.html
> 
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
> 
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/cmake-developers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20160311/bb19de9b/attachment.html>


More information about the cmake-developers mailing list