summaryrefslogtreecommitdiffstats
path: root/Source/cmakemain.cxx
diff options
context:
space:
mode:
authorIgor Ivanov <artalus-mail@yandex.ru>2019-08-10 08:41:53 (GMT)
committerIgor Ivanov <artalus-mail@yandex.ru>2019-08-10 08:41:53 (GMT)
commit3c94069660112f841df3bae66891e05bfc7bad00 (patch)
treed173ed0adfdfddb1cf4da0f2230960b0165a8b7c /Source/cmakemain.cxx
parent2327cc0e0575175e8dec4b7a6fa6cafd5d0f7ca9 (diff)
downloadCMake-3c94069660112f841df3bae66891e05bfc7bad00.zip
CMake-3c94069660112f841df3bae66891e05bfc7bad00.tar.gz
CMake-3c94069660112f841df3bae66891e05bfc7bad00.tar.bz2
Add --trace-redirect parameter to redirect trace output to a file
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 10a6825..1fe6439 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." },