cmake/Help/variable/CMAKE_CURRENT_FUNCTION_LIST_LINE.rst
2021-09-14 00:13:48 +02:00

13 lines
376 B
ReStructuredText

CMAKE_CURRENT_FUNCTION_LIST_LINE
--------------------------------
.. versionadded:: 3.17
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`.