diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-07-08 20:33:29 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-07-08 20:33:29 (GMT) |
commit | d0964a349ee5a71f520a28afe353670e89563fd0 (patch) | |
tree | f302da006488df0c7d676ee0412ea720601b31a9 /Source/cmFileCommand.h | |
parent | cf9562694fb81674e6988a97b47443a8a6135b76 (diff) | |
download | CMake-d0964a349ee5a71f520a28afe353670e89563fd0.zip CMake-d0964a349ee5a71f520a28afe353670e89563fd0.tar.gz CMake-d0964a349ee5a71f520a28afe353670e89563fd0.tar.bz2 |
ENH: Add MAKE_DIRECTORY and modify documentation
Diffstat (limited to 'Source/cmFileCommand.h')
-rw-r--r-- | Source/cmFileCommand.h | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/Source/cmFileCommand.h b/Source/cmFileCommand.h index 2a54451..7cfa3e7 100644 --- a/Source/cmFileCommand.h +++ b/Source/cmFileCommand.h @@ -72,13 +72,20 @@ public: " 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" + "if it does not exists.\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" + "it will append it to the end of the file\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"; } + "variable.\n" + "GLOB will generate a list of all files that match the globbing " + "expressions and store it into the variable. Globbing expressions " + "are similar to regular expressions, but much simpler..\n" + "Examples of globbing expressions:\n" + " *.cxx - match all files with extension cxx\n" + " *.vt? - match all files with extension vta, vtb, ... vtz\n" + " f[3-5].txt - match files f3.txt, f4.txt, f5.txt\n" + "MAKE_DIRECTORY will create a directory at the specified location"; + } cmTypeMacro(cmFileCommand, cmCommand); @@ -86,6 +93,7 @@ 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); + bool HandleMakeDirectoryCommand(std::vector<std::string> const& args); }; |