[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-buildsystem
Subject: Re: [ANNOUNCE] automoc4 from kdesupport now supported for building KDE
From: Matthias Kretz <kretz () kde ! org>
Date: 2008-05-29 7:18:29
Message-ID: 200805290918.29349.kretz () kde ! org
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
On Thursday 29 May 2008, Alexander Neundorf wrote:
> On Wednesday 28 May 2008, Matthias Kretz wrote:
> > 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...
>
> Hmmm... then the target will just depend on this target, right ?
> So if we had a macro which would be called after the actual target has been
> created, like
>
> add_executable(foo ${fooSrcs})
> automoc4_target(foo ${fooSrcs})
>
> would that work ?
It wouldn't work unless you can add source files to a target after
add_executable was already called (the automoc macro needs to add its
<target>_automoc.cpp file to the sources list).
> Will you be at LinuxTag ?
No. Berlin is a bit too far away for my taste.
--
________________________________________________________
Matthias Kretz (Germany) <><
http://Vir.homelinux.org/
MatthiasKretz@gmx.net, kretz@kde.org,
Matthias.Kretz@urz.uni-heidelberg.de
["signature.asc" (application/pgp-signature)]
_______________________________________________
Kde-buildsystem mailing list
Kde-buildsystem@kde.org
https://mail.kde.org/mailman/listinfo/kde-buildsystem
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic