diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-03-09 19:30:35 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-03-09 19:30:35 (GMT) |
commit | 4c5ba06fa13a2bc07f7e0a26bf455dc0b09d5e9c (patch) | |
tree | 36dd3cbb29d7773e102a0c58dee4ef3a5063c7c9 /Source/cmFileCommand.h | |
parent | d253baab99663f531d91d406faf6fe2b822f5cb8 (diff) | |
download | CMake-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.h | 3 |
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); |