mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
`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. ...
10 lines
293 B
ReStructuredText
10 lines
293 B
ReStructuredText
CMAKE_CURRENT_FUNCTION
|
|
----------------------
|
|
|
|
* Define the following variables inside a function:
|
|
|
|
- :variable:`CMAKE_CURRENT_FUNCTION`
|
|
- :variable:`CMAKE_CURRENT_FUNCTION_LIST_DIR`
|
|
- :variable:`CMAKE_CURRENT_FUNCTION_LIST_FILE`
|
|
- :variable:`CMAKE_CURRENT_FUNCTION_LIST_LINE`
|