[CMake] Chaining Dependencies

aaron.meadows at thomsonreuters.com aaron.meadows at thomsonreuters.com
Wed May 19 14:31:11 EDT 2010


Hi all.  I hope this isn't a terribly obvious question that I just can't
find in the documentation..

 

If I have an executable 'A' that depends on a static library 'B', and
static library 'B' depends on static library 'C', can I capture this
dependency as part of the CMakeLists.txt for static library 'B', and
have it picked up by the CMakeLists.txt for executable 'A'?

 

What I want to avoid is needing to know the complete dependencies in
executable 'A' beyond what it directly depends on (static library 'B').

 

Thanks!

 

Aaron Meadows
Software Engineer

Thomson Reuters

Phone: 314.468.3530
Mobile: 636.541.6139
aaron.meadows at thomsonreuters.com
thomsonreuters.com

 



This email was sent to you by Thomson Reuters, the global news and information company.
Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Thomson Reuters.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100519/c9b6640a/attachment.htm>


More information about the CMake mailing list