make clean doesn't delete moc files

David Faure faure at kde.org
Thu Feb 5 19:23:57 CET 2009


On Thursday 05 February 2009, Mike Arthur wrote:
> On Thursday 05 February 2009 17:53:20 Michael Pyne wrote:
> > On Thursday 05 February 2009, David Faure wrote:
> > > Shouldn't it?
> > Yes, it should.  Probably some flag that needs to be added in Automoc to
> > cause CMake to add them to the list of files to be cleaned?
> SET_DIRECTORY_PROPERTIES(PROPERTIES  
> ADDITIONAL_MAKE_CLEAN_FILES "${VariableContainingMocFiles}")

We even have macro_additional_clean_files() in kdelibs for the above,
but given that automoc does the moc'ing itself, I doubt we have a variable
containing moc files.

-- 
David Faure, faure at kde.org, sponsored by Qt Software @ Nokia to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).


More information about the Kde-buildsystem mailing list