[PATCH] Add GENERATE_MOC optional parameter in kde4_add_kcfg_files

2006-07-04 Thread 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 :) -- Michaël Larouche KDE developer w

Re: [PATCH] Add GENERATE_MOC optional parameter in kde4_add_kcfg_files

2006-07-05 Thread Alexander Neundorf
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 i

Re: [PATCH] Add GENERATE_MOC optional parameter in kde4_add_kcfg_files

2006-07-05 Thread Michaël Larouche
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,

Re: [PATCH] Add GENERATE_MOC optional parameter in kde4_add_kcfg_files

2006-07-05 Thread Michaël Larouche
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,

Re: [PATCH] Add GENERATE_MOC optional parameter in kde4_add_kcfg_files

2006-07-05 Thread Leo Savernik
Am Mittwoch, 5. Juli 2006 11:20 schrieb Alexander Neundorf: > 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. Mo