Clifford Yapp wrote:

> On Mon, Sep 14, 2015 at 1:47 PM, Stephen Kelly
> <steve...@gmail.com> wrote:
>> 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...)

It's not being worked on. I didn't get that far in my refactoring.

If you want to work on it, you can create the cmState::Target and store 
target names in cmState instead of cmTarget (making cmTarget take a 
cmState::Target in order to implement cmTarget::GetName() of course).

Then implementing a global property to get the list of target names is easy.

Thanks,

Steve.


-- 

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

Reply via email to