[ANNOUNCE] automoc4 from kdesupport now supported for building KDE

Matthias Kretz kretz at kde.org
Wed May 28 09:37:35 CEST 2008


On Tuesday 27 May 2008, Christian Ehrlicher wrote:
> Alexander Neundorf schrieb:
> > On Saturday 10 May 2008, Alexander Neundorf wrote:
> >> Hi,
> >>
> >> we moved automoc (the tool which does the automoc'ing) to kdesupport, so
> >> it can be used also by non-KDE apps (and maybe be integrated into
> >> cmake).
> >
> > I think we can make automoc from kdesupport required next week, and
> > delete the one from kdelibs.
> > Or is there anything speaking against this ?
>
> Yes, my problem with nmake :)
>
> Any news on this?

I tried add_custom_target and it won't work in the automoc macros because 
there needs to be a dependency from the main target to the automoc target. 
And that cannot be added from the automoc macro because the main target is 
not defined at this point.

add_custom_command(TARGET has the same problem.

It would be possible to use add_custom_target and require the user to add the 
dependency between the two targets himself. In the KDE4_ macros we could do 
that...

-- 
________________________________________________________
Matthias Kretz (Germany)                            <><
http://Vir.homelinux.org/
MatthiasKretz at gmx.net, kretz at kde.org,
Matthias.Kretz at urz.uni-heidelberg.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20080528/7cd1b46c/attachment.pgp 


More information about the Kde-buildsystem mailing list