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.

另請參見 CMAKE_CURRENT_FUNCTION、CMAKE_CURRENT_FUNCTION_LIST_DIR、CMAKE_CURRENT_FUNCTION_LIST_LINE 和 CMAKE_CURRENT_LIST_FILE。