cmake/Help/variable/CMAKE_CURRENT_FUNCTION_LIST_FILE.rst

12 lines
369 B
ReStructuredText
Raw Normal View History

2020-08-30 11:54:41 +02:00
CMAKE_CURRENT_FUNCTION_LIST_FILE
--------------------------------
2021-09-14 00:13:48 +02:00
.. versionadded:: 3.17
2020-08-30 11:54:41 +02:00
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`.