[CMake] Marking a library dependency from within a library.

KSpam keesling_spam at cox.net
Thu Oct 18 19:38:44 EDT 2007


Bill,

Thanks for the clarification.  This will simplify my build system a great 
deal!

Justin

On Thursday 18 October 2007 12:23:49 Bill Hoffman wrote:
> The example is this:
> add_library(libB)
> add_library(libA)
> target_link_libraries(libA libB)
> add_executable(excC)
> target_link_librareis(excC libA)
>
> This will result in this link:
> excC -> libA and libB




More information about the CMake mailing list