[CMake] source files in a target

David Somers dsomers at omz13.com
Mon Jul 18 05:28:45 EDT 2005


On Monday 18 July 2005 10:46, Alexander Neundorf wrote:
> > Von: David Somers <dsomers at omz13.com>
> >
> > Greetings,
> >
> > Given a project, is it possible to get a list of all the source files
> > in the library/executable/project targets?
> >
> > EXPORT_LIBRARY_DEPENDENCIES looked interesting, but it seesm to only be
> > applicable when the project is a library and not an application.
> >
> > TIA for any help (its been ages since I've used CMake so I'm a bit
>
> rusty!)
>
>
> Something like this ?
>
> http://www.cmake.org/Bug/bug.php?op=show&bugid=1790

Yes, something like that (although I was thinking more of being able to get at 
the source (and dependencies) rather than the generated objects).

My idea was if I could get at this information, then it would be very easy to 
create a target that would then tarball all the sources ready for 
distribution.

Greetings from Luxembourg,

-- 
David Somers
VoIP: FWD 622885
PGP Key = 7E613D4E
Fingerprint = 53A0 D84B 7F90 F227 2EAB  4FD7 6278 E2A8 7E61 3D4E


More information about the CMake mailing list