William A. Hoffman wrote: >add_library(A ...) >target_link_libraries(A B C) > >add_library(D ...) >target_link_libraries(D A) # D will link to A B C > >add_executable(foo ...) >target_link_libraries(foo D) # foo will link to D A B C > >This is also important if you ever want static linking to work, >since static libraries never pull in the libraries they use > automatically.
This information has to be saved on disk, after installation, if the
chosen platform model does not save this information automatically on the
binary.
This applies to ELF static libraries, Win32 DLLs and MacOS X Mach-O
binaries.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
2. Tó cennan his weorc gearu, ymbe se circolwyrde, wearð se cægbord and se
leohtspeccabord, and þa mýs cómon lator. On þone dæg, he hine reste.
pgpJ6kHwTZGhl.pgp
Description: PGP signature
_______________________________________________ Kde-buildsystem mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-buildsystem
