KDE/kdebase/workspace/libs/oxygen

Alexander Neundorf neundorf at kde.org
Wed Mar 3 01:20:27 CET 2010


On Wednesday 03 March 2010, David Faure wrote:
> On Wednesday 03 March 2010, Aaron J. Seigo wrote:
> > On March 2, 2010, David Faure wrote:
> > > On Tuesday 02 March 2010, Aaron J. Seigo wrote:
> > > > SVN commit 1097981 by aseigo:
> > > >
> > > > * doesn't link against libplasma
> > > > * don't know what the LIB_MODE thing was for
> > >
> > > Well, obviously it meant "compile as a static lib on Windows,
> > > and compile as a shared lib on unix", which is sensible for such
> > > a non-public library: we can't use static on unix (-fPIC problem),
> > > but using static on Windows makes sense (one DLL less and no export
> > > macro mess). I suppose.
> >
> > would it make sense to have something in CMake that could do this for us
> > that could replace SHARED in those statements?
>
> Well, I'm not sure the case of a "non public DLL" is that common that it's
> worth saving 5 lines in two cmakelists.txt files?

I think so too.

Alex



More information about the Kde-buildsystem mailing list