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

David Cole DLRdave at aol.com
Sat Jul 18 11:57:06 EDT 2015


You're welcome. The key to using it effectively, of course, is using it at
the very bottom of the top level CMakeLists.txt file. It can only report on
the targets defined so far, so if you put it in the middle somewhere,
targets may be defined after you use it, and you'll miss them...


D


On Saturday, July 18, 2015, Clifford Yapp <cliffyapp at gmail.com> wrote:

> On Fri, Jul 17, 2015 at 6:05 PM, David Cole <DLRdave at aol.com
> <javascript:;>> wrote:
> > Attached is a patch file of my first attempt. I can iterate some more
> > on this (better testing, add docs, clarify existing docs, address
> > anybody's comments, submit to stage) next week. Attached now in case
> > anybody wants to try it out over the weekend.
>
> David,
>
> Awesome - thank you for doing that! (Way faster than I would have been
> able to set it up).
>
> It may be Monday before I can put it through it's paces, but I'll
> definitely give this a go and also see if I can combine it with the
> SOURCES target property Brad pointed out to kill two problems with one
> patch.
>
> I'll try to get at figuring out how to set up GLOBAL properties for
> collecting various types of message outputs and prepare a patch for
> that on Monday as well, unless someone else gets to it sooner.
>
> Cheers,
> CY
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20150718/842358dc/attachment-0001.html>


More information about the cmake-developers mailing list