summaryrefslogtreecommitdiffstats
path: root/Source/cmIfCommand.h
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2002-01-02 21:46:08 (GMT)
committerKen Martin <ken.martin@kitware.com>2002-01-02 21:46:08 (GMT)
commite07ea14e31e1d91632bdd5d56124ab394042f0d1 (patch)
treed5628ce0b9dd99aacdc708f59f92d0893f79e57d /Source/cmIfCommand.h
parentb4e27e979556e89dc6bb6c8517cc71d20a717c69 (diff)
downloadCMake-e07ea14e31e1d91632bdd5d56124ab394042f0d1.zip
CMake-e07ea14e31e1d91632bdd5d56124ab394042f0d1.tar.gz
CMake-e07ea14e31e1d91632bdd5d56124ab394042f0d1.tar.bz2
added exists option for if statement
Diffstat (limited to 'Source/cmIfCommand.h')
-rw-r--r--Source/cmIfCommand.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmIfCommand.h b/Source/cmIfCommand.h
index 9d8910f..d663253 100644
--- a/Source/cmIfCommand.h
+++ b/Source/cmIfCommand.h
@@ -115,7 +115,9 @@ public:
return
"IF (define) Starts an if block. Optionally it can be invoked "
"using (NOT define) (def AND def2) (def OR def2) (def MATCHES def2) "
- "MATCHES checks if def matches the regular expression def2 ";
+ "(COMMAND cmd) (EXISTS file) MATCHES checks if def matches the "
+ "regular expression def2. COMMAND checks if the cmake command cmd "
+ "is in this cmake executable. EXISTS file checks if file exists";
}
cmTypeMacro(cmIfCommand, cmCommand);