CMAKE_CURRENT_FUNCTION_LIST_LINE.rst 352 B

12345678910
  1. CMAKE_CURRENT_FUNCTION_LIST_LINE
  2. --------------------------------
  3. When executing code inside a :command:`function`, this variable
  4. contains the line number in the listfile where the current function
  5. was defined.
  6. See also :variable:`CMAKE_CURRENT_FUNCTION`,
  7. :variable:`CMAKE_CURRENT_FUNCTION_LIST_DIR` and
  8. :variable:`CMAKE_CURRENT_FUNCTION_LIST_FILE`.