CMAKE_CURRENT_FUNCTION_LIST_LINE
--------------------------------

When executing code inside a :command:`function`, this variable
contains the line number in the listfile where a current function has defined.
