[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-buildsystem
Subject:    [Patch] fix compile kdeui with msvc
From:       thiago () kde ! org (Thiago Macieira)
Date:       2005-10-30 18:50:12
Message-ID: 200510301650.23640.thiago () kde ! org
[Download RAW message or body]

Ralf Habacker wrote:
>This isn't easy as it looks in the first case and have to worked ?out
> more.
>
>For example if you are compiling libDCOP -DMAKE_DCOP_LIB should be
> defined. If you compile dcopserver it should not although it is in the
> same dir.
>
>If you compile a shared library in a subdir, which depends on another
> lib in the same subdir, i can no image when to set this define or not
> automatically.
>
>I think setting it manually it currently the only way.:-)

It can't be that difficult.

If you're building $(lib_prefix)FOO.$(lib_suffix), you define 
MAKE_FOO_LIB. If you're not building it, you don't define it.

So dcopserver doesn't define MAKE_DCOP_LIB, even though it is in the same 
dir. And convenience libraries vanish, being replaced by simple 
compilation of the objects into the final library, even if they are in 
different dirs.

(e.g., kdecore/network/*.cpp are compiled just as if they were in kdecore/ 
itself)

Convenience libraries are supported in a handful of platforms anyways, so 
we solve the problem by getting rid of them entirely.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

5. Swa he g?anhwearf t? timbran, and hwonne he c?m, l?! Unix cw?? "Hello, 
World". ?fre ?ghwilc w?s gl?d and seo woruld w?s fr?o.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20051030/f677bd15/attachment.pgp

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic