[PATCH] Add GENERATE_MOC optional parameter in kde4_add_kcfg_files

Michaël Larouche michael.larouche at kdemail.net
Wed Jul 5 13:09:02 CEST 2006


Le July 5, 2006 05:20, Alexander Neundorf a écrit :
> Am Mittwoch 05 Juli 2006 02:57 schrieb Michaël Larouche:
> > I finally sitted down to write that optional parameter
> > for   "kde4_add_kcfg_files" to only generate moc files for kcfg on
> > demand.
> >
> > Since only 1% of kcfg files need moc, I added a optional parameter to
> > generate moc.
> >
> > Comments and improvements is appreciated :)
>
> Can it be detected whether there is moc required ?
> If so, there would have to be a small cmake script which is called during
> build time (i.e. not cmake time) which reads the input file and the
> produces the moc stuff is required. More or less similar to what is done
> with uic.
>
> Alex
> _______________________________________________
> Kde-buildsystem mailing list
> Kde-buildsystem at kde.org
> https://mail.kde.org/mailman/listinfo/kde-buildsystem

This would require a extra proceeding only needed for 1% of files. I think 
this is better that we specify explicitely that we want to generate moc.

-- 
Michaël Larouche
KDE developer working on Kopete, Kamefu, Solid...on dial-up :P
--------------------------------------
Website: http://www.tehbisnatch.org/
MSN/Email: michael.larouche at kdemail.net
IRC: irc.freenode.org/DarkShock on #kopete,#solid,#kamefu,#plasma
Jabber: darkshock at myjabber.net



More information about the Kde-buildsystem mailing list