summaryrefslogtreecommitdiff
path: root/share/cmake-3.22/Help/variable/CMAKE_CURRENT_FUNCTION_LIST_LINE.rst
blob: 2fc701246a97c00883c851b9c39f6150528a80f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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`.