Skip to content

cmFunctionCommand: Introduce `CMAKE_CURRENT_FUNCTION*` variables

Alex Turbov requested to merge zaufi/cmake:feature/CMAKE_CURRENT_FUNCTION into master

CMAKE_CURRENT_FUNCTION Can be used for diagnostic or debugging messages like the __PRETTY_FUNCTION__ macro of GCC.

CMAKE_CURRENT_FUNCTION_LIST_DIR Eliminates the necessity of the additional "global" variables inside a module used to access additional "resource" files from functions defined in the module.

...

Topic-rename: function-var-current

Edited by Alex Turbov

Merge request reports