Brad King wrote: >For plain old ADD_LIBRARY, the STATIC option works on all platforms to >create a static library. What is not supported is the "convenience" >part that allows multiple static libraries to be "linked" to form a >bigger static library, or all the objects in a static archive to be >copied into a shared library whether they are referenced or not.
Right. CMake shouldn't allow one to add a static library as a dependency for anything other than a final executable. I don't know if it does that or not, but it shouldn't. libtool allowed that because the dependency was recorded in the .la file. When the final executable was linked, the linking was actually performed. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
pgp5PnmA9UiM9.pgp
Description: PGP signature
_______________________________________________ Kde-buildsystem mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-buildsystem
