Re: [CMake] Get the list of all TARGETS?

2011-01-18 Thread Mathieu Malaterre
On Tue, Jan 18, 2011 at 3:18 PM, Eric Noulard wrote: > 2011/1/18 Clifford Yapp : >> Sounds like this issue: >> >> http://www.cmake.org/pipermail/cmake/2010-September/039388.html >> >> I can confirm the wrapper function approach works, using it in BRL-CAD. > > Right, > > I think a little bit more a

Re: [CMake] Get the list of all TARGETS?

2011-01-18 Thread Eric Noulard
2011/1/18 Clifford Yapp : > Sounds like this issue: > > http://www.cmake.org/pipermail/cmake/2010-September/039388.html > > I can confirm the wrapper function approach works, using it in BRL-CAD. Right, I think a little bit more about it but I think it would be a interesting feature and I may try

Re: [CMake] Get the list of all TARGETS?

2011-01-18 Thread Clifford Yapp
Sounds like this issue: http://www.cmake.org/pipermail/cmake/2010-September/039388.html I can confirm the wrapper function approach works, using it in BRL-CAD. CY On Tue, Jan 18, 2011 at 5:10 AM, Michael Wild wrote: > On 01/18/2011 10:55 AM, Eric Noulard wrote: >> Hi All, >> >> Is it possible

Re: [CMake] Get the list of all TARGETS?

2011-01-18 Thread Michael Wild
On 01/18/2011 10:55 AM, Eric Noulard wrote: > Hi All, > > Is it possible to get the list of all targets defined in a project (or > CMakeLists.txt or directory ...) > from within a CMakeLists.txt ? > > Is there some properties for this? > I did search but didn't find anything, but may be I didn't

[CMake] Get the list of all TARGETS?

2011-01-18 Thread Eric Noulard
Hi All, Is it possible to get the list of all targets defined in a project (or CMakeLists.txt or directory ...) from within a CMakeLists.txt ? Is there some properties for this? I did search but didn't find anything, but may be I didn't looked in the right place? -- Erk Membre de l'April - « p