summaryrefslogtreecommitdiffstats
path: root/Source/cmakemain.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2005-09-21 17:31:43 (GMT)
committerBrad King <brad.king@kitware.com>2005-09-21 17:31:43 (GMT)
commitc59d56f653171eea241179c45dde1c0f0e9606be (patch)
tree89c48e60305ddd7261b4df18145684039c9c062b /Source/cmakemain.cxx
parent059f62c5ea04ccb699e0cde7127232fe607d16a6 (diff)
downloadCMake-c59d56f653171eea241179c45dde1c0f0e9606be.zip
CMake-c59d56f653171eea241179c45dde1c0f0e9606be.tar.gz
CMake-c59d56f653171eea241179c45dde1c0f0e9606be.tar.bz2
BUG: Corrected and updated documentation of the -P option, -C option, GET_TARGET_PROPERTY command, and GET_SOURCE_FILE_PROPERTY command.
Diffstat (limited to 'Source/cmakemain.cxx')
-rw-r--r--Source/cmakemain.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmakemain.cxx b/Source/cmakemain.cxx
index 829d907..04804d5 100644
--- a/Source/cmakemain.cxx
+++ b/Source/cmakemain.cxx
@@ -74,6 +74,9 @@ static const cmDocumentationEntry cmDocumentationOptions[] =
"each variable."},
{"-N", "View mode only.",
"Only load the cache. Do not actually run configure and generate steps."},
+ {"-P <file>", "Process script mode.",
+ "Process the given cmake file as a script written in the CMake language. "
+ "No configure or generate step is performed and the cache is not modified."},
{"--help-command cmd [file]", "Print help for a single command and exit.",
"Full documentation specific to the given command is displayed."},
{"--help-command-list [file]", "List available listfile commands and exit.",