diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-10-06 15:11:59 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-10-06 15:11:59 (GMT) |
commit | 017cec95ada69369e3959cc9c09248335ea2dbfa (patch) | |
tree | 8605887f13d7632a16e94899ad5fdc955aa990a9 /Source/cmakemain.cxx | |
parent | 7f7374e8189871289b604fcc8f109411bca793dd (diff) | |
download | CMake-017cec95ada69369e3959cc9c09248335ea2dbfa.zip CMake-017cec95ada69369e3959cc9c09248335ea2dbfa.tar.gz CMake-017cec95ada69369e3959cc9c09248335ea2dbfa.tar.bz2 |
ENH: do not print a call stack if the user does a message error unless --debug-output is used
Diffstat (limited to 'Source/cmakemain.cxx')
-rw-r--r-- | Source/cmakemain.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmakemain.cxx b/Source/cmakemain.cxx index 1a5d2db..f183ae2 100644 --- a/Source/cmakemain.cxx +++ b/Source/cmakemain.cxx @@ -85,6 +85,9 @@ static const cmDocumentationEntry cmDocumentationOptions[] = {"--debug-trycompile", "Do not delete the try compile directories..", "Do not delete the files and directories created for try_compile calls. " "This is useful in debugging failed try_compiles."}, + {"--debug-output", "Put cmake in a debug mode.", + "Print extra stuff during the cmake run like stack traces 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."}, {"--help-command-list [file]", "List available listfile commands and exit.", |