summaryrefslogtreecommitdiffstats
path: root/Source/cmakemain.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-08-20 13:18:41 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-08-20 13:20:49 (GMT)
commita0c8405d681d504f5d96489c2b5d44f10a29c6ed (patch)
tree260f79572b035b6791aa3d2480e729d6fffc0da9 /Source/cmakemain.cxx
parentb80417f0fd1491d1c0f5d57019b47d4c13729545 (diff)
parent3c94069660112f841df3bae66891e05bfc7bad00 (diff)
downloadCMake-a0c8405d681d504f5d96489c2b5d44f10a29c6ed.zip
CMake-a0c8405d681d504f5d96489c2b5d44f10a29c6ed.tar.gz
CMake-a0c8405d681d504f5d96489c2b5d44f10a29c6ed.tar.bz2
Merge topic 'trace-redirect'
3c94069660 Add --trace-redirect parameter to redirect trace output to a file Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3645
Diffstat (limited to 'Source/cmakemain.cxx')
-rw-r--r--Source/cmakemain.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmakemain.cxx b/Source/cmakemain.cxx
index 74c0d0f..a210959 100644
--- a/Source/cmakemain.cxx
+++ b/Source/cmakemain.cxx
@@ -80,6 +80,8 @@ const char* cmDocumentationOptions[][2] = {
{ "--trace-expand", "Put cmake in trace mode with variable expansion." },
{ "--trace-source=<file>",
"Trace only this CMake file/module. Multiple options allowed." },
+ { "--trace-redirect=<file>",
+ "Redirect trace output to a file instead of stderr." },
{ "--warn-uninitialized", "Warn about uninitialized values." },
{ "--warn-unused-vars", "Warn about unused variables." },
{ "--no-warn-unused-cli", "Don't warn about command line options." },