summaryrefslogtreecommitdiffstats
path: root/Source/cmFileCommand.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-03-09 19:30:35 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-03-09 19:30:35 (GMT)
commit4c5ba06fa13a2bc07f7e0a26bf455dc0b09d5e9c (patch)
tree36dd3cbb29d7773e102a0c58dee4ef3a5063c7c9 /Source/cmFileCommand.h
parentd253baab99663f531d91d406faf6fe2b822f5cb8 (diff)
downloadCMake-4c5ba06fa13a2bc07f7e0a26bf455dc0b09d5e9c.zip
CMake-4c5ba06fa13a2bc07f7e0a26bf455dc0b09d5e9c.tar.gz
CMake-4c5ba06fa13a2bc07f7e0a26bf455dc0b09d5e9c.tar.bz2
ENH: use a cmake script to do the clean step, this allows for large numbers of files to be removed without making the command line too long
Diffstat (limited to 'Source/cmFileCommand.h')
-rw-r--r--Source/cmFileCommand.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmFileCommand.h b/Source/cmFileCommand.h
index 2dcbe2e..fd61694 100644
--- a/Source/cmFileCommand.h
+++ b/Source/cmFileCommand.h
@@ -69,6 +69,8 @@ public:
" FILE(READ filename variable)\n"
" FILE(GLOB variable [globbing expressions]...)\n"
" FILE(GLOB_RECURSE variable [globbing expressions]...)\n"
+ " FILE(REMOVE [directory]...)\n"
+ " FILE(REMOVE_RECURSE [directory]...)\n"
" FILE(MAKE_DIRECTORY [directory]...)\n"
" FILE(RELATIVE_PATH variable directory file)\n"
"WRITE will write a message into a file called 'filename'. It "
@@ -101,6 +103,7 @@ public:
cmTypeMacro(cmFileCommand, cmCommand);
protected:
+ bool HandleRemove(std::vector<std::string> const& args, bool recurse);
bool HandleWriteCommand(std::vector<std::string> const& args, bool append);
bool HandleReadCommand(std::vector<std::string> const& args);
bool HandleGlobCommand(std::vector<std::string> const& args, bool recurse);