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_FUNCTIONCMAKE_CURRENT_FUNCTION_LIST_DIRCMAKE_CURRENT_FUNCTION_LIST_LINECMAKE_CURRENT_LIST_FILE