CMAKE_CURRENT_FUNCTION ---------------------- When executing code inside a :command:`function`, this variable contains the name of the current function. It can be used for diagnostic or debug messages.