[CMake] intercomponent link dependencies?

Nico Schlömer nico.schloemer at gmail.com
Thu Jan 7 04:51:44 EST 2010


Hi,

I'm writing a FintMymodule.cmake file for a set of libraries (read:
components), and with the given examples in the official CMake/Modules
folder it comes along nicely.

One thing I couldn't figure out now is how to set link dependencies
between the different components; that is, if I link against component
A not only libA is required for linking but also libB and libC. With
regular libraries I understand I can pull this is in by
TARGET_LINK_LIBRARIES..

Cheers,
Nico


More information about the CMake mailing list