From 22fbc404a7f8cf4439f2caefb34e90fe1b32bf8f Mon Sep 17 00:00:00 2001 From: Craig Scott Date: Fri, 10 Apr 2020 21:56:07 +1000 Subject: Help: Add cross-references for CMAKE_CURRENT_FUNCTION* docs --- Help/variable/CMAKE_CURRENT_FUNCTION.rst | 4 ++++ Help/variable/CMAKE_CURRENT_FUNCTION_LIST_FILE.rst | 4 ++++ Help/variable/CMAKE_CURRENT_FUNCTION_LIST_LINE.rst | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/Help/variable/CMAKE_CURRENT_FUNCTION.rst b/Help/variable/CMAKE_CURRENT_FUNCTION.rst index b11a62a..fb7f610 100644 --- a/Help/variable/CMAKE_CURRENT_FUNCTION.rst +++ b/Help/variable/CMAKE_CURRENT_FUNCTION.rst @@ -4,3 +4,7 @@ CMAKE_CURRENT_FUNCTION 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. + +See also :variable:`CMAKE_CURRENT_FUNCTION_LIST_DIR`, +:variable:`CMAKE_CURRENT_FUNCTION_LIST_FILE` and +:variable:`CMAKE_CURRENT_FUNCTION_LIST_LINE`. diff --git a/Help/variable/CMAKE_CURRENT_FUNCTION_LIST_FILE.rst b/Help/variable/CMAKE_CURRENT_FUNCTION_LIST_FILE.rst index 88d8423..c737af9 100644 --- a/Help/variable/CMAKE_CURRENT_FUNCTION_LIST_FILE.rst +++ b/Help/variable/CMAKE_CURRENT_FUNCTION_LIST_FILE.rst @@ -3,3 +3,7 @@ CMAKE_CURRENT_FUNCTION_LIST_FILE When executing code inside a :command:`function`, this variable contains the full path to the listfile that defined the current function. + +See also :variable:`CMAKE_CURRENT_FUNCTION`, +:variable:`CMAKE_CURRENT_FUNCTION_LIST_DIR` and +:variable:`CMAKE_CURRENT_FUNCTION_LIST_LINE`. diff --git a/Help/variable/CMAKE_CURRENT_FUNCTION_LIST_LINE.rst b/Help/variable/CMAKE_CURRENT_FUNCTION_LIST_LINE.rst index 8b18d2e..ad6282e 100644 --- a/Help/variable/CMAKE_CURRENT_FUNCTION_LIST_LINE.rst +++ b/Help/variable/CMAKE_CURRENT_FUNCTION_LIST_LINE.rst @@ -4,3 +4,7 @@ CMAKE_CURRENT_FUNCTION_LIST_LINE When executing code inside a :command:`function`, this variable contains the line number in the listfile where the current function was defined. + +See also :variable:`CMAKE_CURRENT_FUNCTION`, +:variable:`CMAKE_CURRENT_FUNCTION_LIST_DIR` and +:variable:`CMAKE_CURRENT_FUNCTION_LIST_FILE`. -- cgit v0.12