CMAKE_CURRENT_FUNCTION.rst 356 B

12345678910
  1. CMAKE_CURRENT_FUNCTION
  2. ----------------------
  3. When executing code inside a :command:`function`, this variable
  4. contains the name of the current function. It can be useful for
  5. diagnostic or debug messages.
  6. See also :variable:`CMAKE_CURRENT_FUNCTION_LIST_DIR`,
  7. :variable:`CMAKE_CURRENT_FUNCTION_LIST_FILE` and
  8. :variable:`CMAKE_CURRENT_FUNCTION_LIST_LINE`.