make clean doesn't delete moc files

Mike Arthur mike at mikearthur.co.uk
Thu Feb 5 18:56:23 CET 2009


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}")

That'll do it.


-- 
Cheers,
Mike Arthur
http://mikearthur.co.uk/


More information about the Kde-buildsystem mailing list