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:
@@ -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`.
|
||||||
|
@@ -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`.
|
||||||
|
@@ -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`.
|
||||||
|
Reference in New Issue
Block a user