1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-17 15:32:10 +08:00

Help: Add cross-references for CMAKE_CURRENT_FUNCTION* docs

This commit is contained in:
Craig Scott
2020-04-10 21:56:07 +10:00
parent d2b139687a
commit 22fbc404a7
3 changed files with 12 additions and 0 deletions

View File

@@ -4,3 +4,7 @@ CMAKE_CURRENT_FUNCTION
When executing code inside a :command:`function`, this variable When executing code inside a :command:`function`, this variable
contains the name of the current function. It can be useful for contains the name of the current function. It can be useful for
diagnostic or debug messages. 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`.

View File

@@ -3,3 +3,7 @@ CMAKE_CURRENT_FUNCTION_LIST_FILE
When executing code inside a :command:`function`, this variable When executing code inside a :command:`function`, this variable
contains the full path to the listfile that defined the current function. 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`.

View File

@@ -4,3 +4,7 @@ CMAKE_CURRENT_FUNCTION_LIST_LINE
When executing code inside a :command:`function`, this variable When executing code inside a :command:`function`, this variable
contains the line number in the listfile where the current function contains the line number in the listfile where the current function
was defined. was defined.
See also :variable:`CMAKE_CURRENT_FUNCTION`,
:variable:`CMAKE_CURRENT_FUNCTION_LIST_DIR` and
:variable:`CMAKE_CURRENT_FUNCTION_LIST_FILE`.