[CMake] List all binaries associated with a target.

Klaim - Joël Lamotte mjklaim at gmail.com
Mon Mar 16 16:50:00 EDT 2015


On Sat, Mar 14, 2015 at 9:51 PM, Roman Bolshakov <roolebo at gmail.com> wrote:

> Here's an example function which addresses 1.
> It creates a string of generator expressions for direct and indirect
> dependencies of a target recursively.
> When all recursive invocations are done, it spits <target-name>-deps
> file in the CURRENT_BINARY_DIR which contains full paths of the
> dependencies:
>


Unfortunately, if my understanding is correct,
this code cannot work with external dependencies as they are not targets.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20150316/86fb34a1/attachment.html>


More information about the CMake mailing list