Philippe Poilbarbe wrote:
Matthew Woehlke a écrit :
Alexander Neundorf wrote:
I already tried this:
SET_DIRECTORY_PROPERTIES(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES doc/)
...and it doesn't work. Maybe this should be a bug/RFE?
At now, I have done this with a ADD_CUSTOM_TARGET(distclean)
which depends on clean and launches a perl script doing the
job (named with a .pl extension in order to be seen as
a script even on windows).
I did also post a feature request (2937) in order to be able to delete
a directory with a command line option of "cmake -E". It allows
being able to delete a directory in the same portable way,
as done with the script above but without a perl dependency.
It has just been implemented: the mail for a "closed" status has
been sent today :) . The command is "cmake -E remove_directory"
which removes the directory and all its content (files/subdirs).
And maybe the ability of deleting directories from
ADDITIONAL_MAKE_CLEAN_FILES have been
implemented (which would be consistent).
Ok, thanks for the info. I'll watch for an updated version.
--
Matthew
HIPPOS feel unacknowledged. HIPPOS get angry.
> PRAISE HIPPOS
HIPPOS seem somewhat placated.
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake