summaryrefslogtreecommitdiff
path: root/Source/cmIncludeRegularExpressionCommand.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2001-06-21 15:02:52 -0400
committerBrad King <brad.king@kitware.com>2001-06-21 15:02:52 -0400
commitcf829929649c3dc7871e653de33580679c2db558 (patch)
tree67d62b23de64b1845c7601a845d53591c96d8e32 /Source/cmIncludeRegularExpressionCommand.h
parent8ffe832e9bc22deddef38eed1c19fe437b5d031f (diff)
downloadcmake-cf829929649c3dc7871e653de33580679c2db558.tar.gz
ENH: Extended INCLUDE_REGULAR_EXPRESSION to allow selective complaints about missing dependencies.
Diffstat (limited to 'Source/cmIncludeRegularExpressionCommand.h')
-rw-r--r--Source/cmIncludeRegularExpressionCommand.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/Source/cmIncludeRegularExpressionCommand.h b/Source/cmIncludeRegularExpressionCommand.h
index 4e2b87e0dd..fcec512f06 100644
--- a/Source/cmIncludeRegularExpressionCommand.h
+++ b/Source/cmIncludeRegularExpressionCommand.h
@@ -96,9 +96,13 @@ public:
virtual const char* GetFullDocumentation()
{
return
- "INCLUDE_REGULAR_EXPRESSION(regex)\n"
- "Sets the regular expression used in dependency checking. Only\n"
- "include files matching this regular expression will be traced.";
+ "INCLUDE_REGULAR_EXPRESSION(regex_match [regex_complain])\n"
+ "Set the regular expressions used in dependency checking. Only files\n"
+ "matching regex_match will be traced as dependencies. Only files\n"
+ "matching regex_complain will generate warnings if they cannot be found\n"
+ "(standard header paths are not searched). The defaults are:\n"
+ " regex_match = \"^.*$\" (match everything)\n"
+ " regex_complain = \"^$\" (match empty string only)\n";
}
cmTypeMacro(cmIncludeRegularExpressionCommand, cmCommand);