[PATCH] Add GENERATE_MOC optional parameter in kde4_add_kcfg_files

Alexander Neundorf alexander.neundorf at gmx.net
Wed Jul 5 11:20:40 CEST 2006


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


More information about the Kde-buildsystem mailing list