summaryrefslogtreecommitdiffstats
path: root/Help/manual
diff options
context:
space:
mode:
authorAlex Turbov <i.zaufi@gmail.com>2016-06-13 19:27:58 (GMT)
committerBrad King <brad.king@kitware.com>2016-06-17 15:46:23 (GMT)
commite63151ff543bb665fea255713e2e643e64527517 (patch)
tree21ed366673a8deea535ec334ca4f63d90fef471d /Help/manual
parent9e4725560493fdac423102469da6dbe1779383c4 (diff)
downloadCMake-e63151ff543bb665fea255713e2e643e64527517.zip
CMake-e63151ff543bb665fea255713e2e643e64527517.tar.gz
CMake-e63151ff543bb665fea255713e2e643e64527517.tar.bz2
cmake: Add an option to control what files needs to be traced
Even in relatively small projects using `--trace` (and `--trace-expand`) may produce a lot of output. When developing a custom module usually one is interested in output of only a few particular modules. Add a `--trace-source=<file>` option to enable tracing only a subset of source files. The final output would be only from requested modules, ignoring anything else not matched to given filename(s).
Diffstat (limited to 'Help/manual')
-rw-r--r--Help/manual/cmake.1.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Help/manual/cmake.1.rst b/Help/manual/cmake.1.rst
index 65153af..8f7c336 100644
--- a/Help/manual/cmake.1.rst
+++ b/Help/manual/cmake.1.rst
@@ -108,6 +108,11 @@ Options
Like ``--trace``, but with variables expanded.
+``--trace-source=<file>``
+ Put cmake in trace mode, but output only lines of a specified file.
+
+ Multiple options are allowed.
+
``--warn-uninitialized``
Warn about uninitialized values.