summaryrefslogtreecommitdiff
path: root/Help/variable/CMAKE_CURRENT_FUNCTION.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Help/variable/CMAKE_CURRENT_FUNCTION.rst')
-rw-r--r--Help/variable/CMAKE_CURRENT_FUNCTION.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Help/variable/CMAKE_CURRENT_FUNCTION.rst b/Help/variable/CMAKE_CURRENT_FUNCTION.rst
index fb7f61060a..5d1a4e98e6 100644
--- a/Help/variable/CMAKE_CURRENT_FUNCTION.rst
+++ b/Help/variable/CMAKE_CURRENT_FUNCTION.rst
@@ -1,6 +1,8 @@
CMAKE_CURRENT_FUNCTION
----------------------
+.. versionadded:: 3.17
+
When executing code inside a :command:`function`, this variable
contains the name of the current function. It can be useful for
diagnostic or debug messages.