[cmake-developers] Listing all targets

Clifford Yapp cliffyapp at gmail.com
Fri Mar 11 15:58:13 EST 2016


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


More information about the cmake-developers mailing list