1CMAKE_CURRENT_FUNCTION 2---------------------- 3 4.. versionadded:: 3.17 5 6When executing code inside a :command:`function`, this variable 7contains the name of the current function. It can be useful for 8diagnostic or debug messages. 9 10See also :variable:`CMAKE_CURRENT_FUNCTION_LIST_DIR`, 11:variable:`CMAKE_CURRENT_FUNCTION_LIST_FILE` and 12:variable:`CMAKE_CURRENT_FUNCTION_LIST_LINE`. 13