Fwd: KDE/kdebase/libkonq

Thiago Macieira thiago at kde.org
Thu Mar 2 19:10:08 CET 2006


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20060302/647b2403/attachment.pgp 


More information about the Kde-buildsystem mailing list