diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-07-08 18:18:17 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-07-08 18:18:17 (GMT) |
commit | db77d2e0192893ad9dda95bec0ebd9d6287fea14 (patch) | |
tree | 5aedd49117119e12af9b50647fdb696042d5ab29 /Source/cmFileCommand.h | |
parent | 1a4ec91593b8133897c2741d6dd43b2216ebb590 (diff) | |
download | CMake-db77d2e0192893ad9dda95bec0ebd9d6287fea14.zip CMake-db77d2e0192893ad9dda95bec0ebd9d6287fea14.tar.gz CMake-db77d2e0192893ad9dda95bec0ebd9d6287fea14.tar.bz2 |
ENH: Add globbing to FILE command
Diffstat (limited to 'Source/cmFileCommand.h')
-rw-r--r-- | Source/cmFileCommand.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Source/cmFileCommand.h b/Source/cmFileCommand.h index a3bb48f..2a54451 100644 --- a/Source/cmFileCommand.h +++ b/Source/cmFileCommand.h @@ -69,19 +69,23 @@ public: " FILE(WRITE filename \"message to write\"... )\n" " FILE(APPEND filename \"message to write\"... )\n" " FILE(READ filename variable)\n" + " FILE(GLOB variable [globbing expressions]...)\n" "WRITE will write a message into a file called 'filename'. It " "overwrites the file if it already exists, and creates the file " "if it does not exists.\n\n" "APPEND will write a message into a file same as WRITE, except " "it will append it to the end of the file\n\n" - "READ will read the content of a file and store it into a " - "variable.\n\n"; } + "READ will read the content of a file and store it into the " + "variable.\n\n" + "GLOB will generate a list of all files that match the expressions " + "and store it into the variable.\n\n"; } cmTypeMacro(cmFileCommand, cmCommand); protected: 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); }; |