CMAKE_CURRENT_FUNCTION_LIST_LINEΒΆ

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