summaryrefslogtreecommitdiffstats
path: root/Source/cmakemain.cxx
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-06-14 12:49:57 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-06-14 12:49:57 (GMT)
commit68cb7b3173f978b014686573fa76d8776f1e74bd (patch)
tree96b083420fadf9ba8b34320b1b548f777812ad30 /Source/cmakemain.cxx
parent7203990661fefb26cffa697625765dac123710cf (diff)
downloadCMake-68cb7b3173f978b014686573fa76d8776f1e74bd.zip
CMake-68cb7b3173f978b014686573fa76d8776f1e74bd.tar.gz
CMake-68cb7b3173f978b014686573fa76d8776f1e74bd.tar.bz2
STYLE: add comment about the -D -P order and fix typo in doc
Alex
Diffstat (limited to 'Source/cmakemain.cxx')
-rw-r--r--Source/cmakemain.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmakemain.cxx b/Source/cmakemain.cxx
index fd9a6e1..1bc643e 100644
--- a/Source/cmakemain.cxx
+++ b/Source/cmakemain.cxx
@@ -79,7 +79,8 @@ static const cmDocumentationEntry cmDocumentationOptions[] =
{"-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."},
+ " modified. If variables are defined using -D, this must be done "
+ "before the -P argument."},
{"--graphviz=[file]", "Generate graphviz of dependencies.",
"Generate a graphviz input file that will contain all the library and "
"executable dependencies in the project."},