diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2015-07-21 21:18:53 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2015-07-23 19:33:10 (GMT) |
commit | 594bafe52773c940fc3fb9cd9022a4d1a3a194c7 (patch) | |
tree | 9ba8747bc0a23a46abe7035e8f507b647573fbd9 /Help/manual/cmake.1.rst | |
parent | 265b9db7c2c865c5aad821bf9a377ea84dfe431e (diff) | |
download | CMake-594bafe52773c940fc3fb9cd9022a4d1a3a194c7.zip CMake-594bafe52773c940fc3fb9cd9022a4d1a3a194c7.tar.gz CMake-594bafe52773c940fc3fb9cd9022a4d1a3a194c7.tar.bz2 |
cmake: add --trace-expand option
The --trace option is helpful, but sometimes, what you're looking for is
deep under many layers of function calls and figuring out what instance
of the function call you're looking at is tedious to determine (usually
involving patching and message()). Instead, add a --trace-expand option
to trace while expanding commands into what CMake actually sees.
Diffstat (limited to 'Help/manual/cmake.1.rst')
-rw-r--r-- | Help/manual/cmake.1.rst | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Help/manual/cmake.1.rst b/Help/manual/cmake.1.rst index 4bd5a5e..9ce4971 100644 --- a/Help/manual/cmake.1.rst +++ b/Help/manual/cmake.1.rst @@ -113,14 +113,18 @@ Options ``--debug-output`` Put cmake in a debug mode. - Print extra stuff during the cmake run like stack traces with + Print extra information 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. + Print a trace of all calls made and from where. + +``--trace-expand`` + Put cmake in trace mode. + + Like ``--trace``, but with variables expanded. ``--warn-uninitialized`` Warn about uninitialized values. |