cmake and custom build targets

Alexander Neundorf neundorf at kde.org
Tue Mar 14 18:42:58 CET 2006


On Monday 13 March 2006 22:14, Alexander Dymo wrote:
> Hi!
> I'm using add_custom_target to create some files before building
> ThreadWeaver library
> (http://websvn.kde.org/trunk/kdenonbeta/threadweaver/Weaver). The problem
> is I want to generate Job_moc.cpp only once but
> it is recreated each time i run make. Can anybody please tell me how can I
> avoid that?

Is there a special reason that you can't use the moc macros provided by 
KDE4Macros.cmake and FindQt4.cmake ?

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