[CMake] What is the preferred method of handling inter-library dependencies?

William A. Hoffman billlist at nycap.rr.com
Thu Jul 13 14:35:47 EDT 2006


At 02:01 PM 7/13/2006, Alan W. Irwin wrote:
>What are the preferred entries for TARGET_LINK_LIBRARIES?
>
>"Minimal dependencies", i.e.,
>TARGET_LINK_LIBRARIES(x y)
>TARGET_LINK_LIBRARIES(y z)
>TARGET_LINK_LIBRARIES(z external1 external2)

This should work fine in CMake.
The libraries will be chained automatically.

-Bill



More information about the CMake mailing list