patch: c/cxxflags for static libraries

Alexander Neundorf neundorf at kde.org
Mon Jul 17 21:22:29 CEST 2006


On Monday 17 July 2006 19:41, Brad King wrote:
> Simon Hausmann wrote:
...
> > Ah, it seems that is not supported on all platforms. Okay, great, that
> > solves the issue, STATIC must not be used in KDE then as it's not
> > portable.
>
> 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.
>
> I don't know about kde4_add_library though.

It handles this exactly like ADD_LIBRARY(), the SHARED and STATIC arguments 
are simply forwarded, it just adds for instance some RPATH handling.

Bye
Alex
-- 
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org                - http://www.kde.org
      alex AT neundorf.net               - http://www.neundorf.net


More information about the Kde-buildsystem mailing list