cmake and custom build targets

Alexander Neundorf neundorf at kde.org
Tue Mar 14 20:35:00 CET 2006


On Tuesday 14 March 2006 20:29, you wrote:
> On Tuesday 14 March 2006 19:42, Alexander Neundorf wrote:
> > Is there a special reason that you can't use the moc macros provided by
> > KDE4Macros.cmake and FindQt4.cmake ?
>
> Yep, I need moc to process both header and cpp and generate moc output
> for both ;) Don't ask me why don't I simply move Q_OBJECT classes into
> header files - it's Mirco Boehm's code ;)

Have a look at QT4_GENERATE_MOC( infile outfile ) in FindQt4.cmake, maybe it 
does already what you need ?

Bye
Alex
-- 
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org                - http://www.kde.org
      alex AT neundorf.net               - http://www.neundorf.net


More information about the Kde-buildsystem mailing list