[CMake] object file target

Hendrik Sattler post at hendrik-sattler.de
Mon Jul 30 18:33:56 EDT 2007


Am Dienstag 31 Juli 2007 00:16 schrieb Juan Sanchez:
> Thanks for the "make VERBOSE=1".  I was flying blind before that since
> it wasn't on the man page.
>
> That is great that the add_library it works, even when one of the static
> archives is external project.  All I need to do now is figure our how to
> send "--whole-archive" to the linker for each of the static library
> arguments.

see LINK_FLAGS in SET_TARGET_PROPERTIES. You only have to give that options 
once (according to documentation).

HS


More information about the CMake mailing list