[CMake] Howto get list of targets and their source files?
Bill Hoffman
bill.hoffman at kitware.com
Fri Dec 29 09:35:02 EST 2006
Enrico Scholz wrote:
> Hello,
>
> how can I get the list of targets and their source files? Can
> GET_TARGET_PROPERTY() be used for it?
>
> I need this for a 'make dist' like functionality which puts all used
> source files into a tarball.
>
Currently, there is no way to do this. It would most likely have to be
done in C++, maybe part of cpack.
-Bill
More information about the CMake
mailing list