summaryrefslogtreecommitdiffstats
path: root/Source/cmFileCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmFileCommand.h')
-rw-r--r--Source/cmFileCommand.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/Source/cmFileCommand.h b/Source/cmFileCommand.h
index fe27bf6..324254f 100644
--- a/Source/cmFileCommand.h
+++ b/Source/cmFileCommand.h
@@ -67,8 +67,8 @@ 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"
- " FILE(GLOB_RECURSE variable [globbing expressions]...)\n"
+ " FILE(GLOB variable [RELATIVE path] [globbing expressions]...)\n"
+ " FILE(GLOB_RECURSE variable [RELATIVE path] [globbing expressions]...)\n"
" FILE(REMOVE [directory]...)\n"
" FILE(REMOVE_RECURSE [directory]...)\n"
" FILE(MAKE_DIRECTORY [directory]...)\n"
@@ -87,7 +87,9 @@ public:
"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"
+ "are similar to regular expressions, but much simpler. If RELATIVE "
+ "flag is specified for an expression, the results will be returned "
+ "as a relative path to the given path.\n"
"Examples of globbing expressions include:\n"
" *.cxx - match all files with extension cxx\n"
" *.vt? - match all files with extension vta,...,vtz\n"