summaryrefslogtreecommitdiffstats
path: root/Source/cmakemain.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-07-31 14:33:25 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-07-31 14:33:25 (GMT)
commit6f31b0dfbd5fbd234d08f716703b6d05c659e086 (patch)
tree410fc30c88ba41252b2949d2cc6ff6f8d087e8d3 /Source/cmakemain.cxx
parent9926b7f717f90ca6b5055d1cbf205f258466df99 (diff)
downloadCMake-6f31b0dfbd5fbd234d08f716703b6d05c659e086.zip
CMake-6f31b0dfbd5fbd234d08f716703b6d05c659e086.tar.gz
CMake-6f31b0dfbd5fbd234d08f716703b6d05c659e086.tar.bz2
ENH: add a --trace option
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 83718dd..601c060 100644
--- a/Source/cmakemain.cxx
+++ b/Source/cmakemain.cxx
@@ -101,6 +101,9 @@ static const char * cmDocumentationOptions[][3] =
{"--debug-output", "Put cmake in a debug mode.",
"Print extra stuff during the cmake run like stack traces with "
"message(send_error ) calls."},
+ {"--trace", "Put cmake in trace mode.",
+ "Print a trace of all calls made and from where with "
+ "message(send_error ) calls."},
{"--help-command cmd [file]", "Print help for a single command and exit.",
"Full documentation specific to the given command is displayed. "
"If a file is specified, the documentation is written into and the output "