summaryrefslogtreecommitdiffstats
path: root/Help/manual/cmake-variables.7.rst
diff options
context:
space:
mode:
authorAlex Turbov <i.zaufi@gmail.com>2019-12-08 00:26:14 (GMT)
committerAlex Turbov <i.zaufi@gmail.com>2019-12-10 14:43:27 (GMT)
commit90e3e2a7778dc0ec5b421e9657ec49936a3cf174 (patch)
tree6788ff83fc4a9cd7e0e87a2f33f7a3cf0d87d216 /Help/manual/cmake-variables.7.rst
parentdd54290dab61c3342866c71052145271c13468ad (diff)
downloadCMake-90e3e2a7778dc0ec5b421e9657ec49936a3cf174.zip
CMake-90e3e2a7778dc0ec5b421e9657ec49936a3cf174.tar.gz
CMake-90e3e2a7778dc0ec5b421e9657ec49936a3cf174.tar.bz2
cmFunctionCommand: Introduce `CMAKE_CURRENT_FUNCTION*` variables
`CMAKE_CURRENT_FUNCTION` Can be used for diagnostic or debugging messages like the `__PRETTY_FUNCTION__` macro of GCC. `CMAKE_CURRENT_FUNCTION_LIST_DIR` Eliminates the necessity of the additional "global" variables inside a module used to access additional "resource" files from functions defined in the module. ...
Diffstat (limited to 'Help/manual/cmake-variables.7.rst')
-rw-r--r--Help/manual/cmake-variables.7.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Help/manual/cmake-variables.7.rst b/Help/manual/cmake-variables.7.rst
index 84018b7..4c797a5 100644
--- a/Help/manual/cmake-variables.7.rst
+++ b/Help/manual/cmake-variables.7.rst
@@ -37,6 +37,10 @@ Variables that Provide Information
/variable/CMAKE_CROSSCOMPILING_EMULATOR
/variable/CMAKE_CTEST_COMMAND
/variable/CMAKE_CURRENT_BINARY_DIR
+ /variable/CMAKE_CURRENT_FUNCTION
+ /variable/CMAKE_CURRENT_FUNCTION_LIST_DIR
+ /variable/CMAKE_CURRENT_FUNCTION_LIST_FILE
+ /variable/CMAKE_CURRENT_FUNCTION_LIST_LINE
/variable/CMAKE_CURRENT_LIST_DIR
/variable/CMAKE_CURRENT_LIST_FILE
/variable/CMAKE_CURRENT_LIST_LINE