[CMake] SET_TARGET_PROPERTIES CLEAN_SCRIPT

Brad King brad.king at kitware.com
Thu Dec 29 14:55:28 EST 2005


Anton Deguet wrote:
> There is a fairly convenient SET_TARGET_PROPERTIES POST_INSTALL_SCRIPT
> which allows to easily tweak an install. Is there an equivalent target
> property for CLEAN_SCRIPT or PRE/POST_CLEAN_SCRIPT?

No, but there is a "directory" property.  Look at

   http://www.cmake.org/HTML/Documentation.html

for the documentation of SET_DIRECTORY_PROPERTIES.  There is an 
ADDITIONAL_MAKE_CLEAN_FILES property.  It's not as nice as what you want 
but it's a start.

What kind of files for cleaning did you have in mind?

-Brad


More information about the CMake mailing list