[CMake] linux kernel module, output directory and clean issues

Jack Kelly endgame.dos at gmail.com
Thu Aug 16 10:26:15 EDT 2007


Tim Schooley wrote:
> My second problem: I'm aware that you currently cant add custom commands
> to the "clean" target, but is there _any_ way of cleaning up the kernel
> module source directory when "clean" is called, even if it's a slightly
> nasty hack ?

Do an ADD_CUSTOM_TARGET for something like `mrproper'? Not quite clean, 
but close. Besides, the linux kernel makefiles have a mrproper target.

-- Jack


More information about the CMake mailing list