Brad King wrote: >The equivalent in CMake would be to just remove static libraries from >the list of libraries put on the link line for a shared library. The >static libraries should still be listed as dependencies so that when the >executable links to the shared library it gets the static library too. > >Does this sound correct?
No. They should be completely forbidden. If you do it like that, it'll work for a shared library that is produced in the same cmake build. But it'll fail for a 3rd-party (from a different cmake build), since the dependency isn't recorded anywhere. Unless you're proposing to create and install .la files. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
pgp11ime2mgMX.pgp
Description: PGP signature
_______________________________________________ Kde-buildsystem mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-buildsystem
