CMAKE_CURRENT_FUNCTION_LIST_FILE

在 3.17 版被加入.

When executing code inside a function(), this variable contains the full path to the listfile that defined the current function.

See also CMAKE_CURRENT_FUNCTION, CMAKE_CURRENT_FUNCTION_LIST_DIR, CMAKE_CURRENT_FUNCTION_LIST_LINE and CMAKE_CURRENT_LIST_FILE.