cmake / 3.18 / variable / cmake_current_function_list_line.html

CMAKE_CURRENT_FUNCTION_LIST_LINE

When executing code inside a function(), this variable contains the line number in the listfile where the current function was defined.

See also CMAKE_CURRENT_FUNCTION, CMAKE_CURRENT_FUNCTION_LIST_DIR and CMAKE_CURRENT_FUNCTION_LIST_FILE.

© 2000–2020 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.18/variable/CMAKE_CURRENT_FUNCTION_LIST_LINE.html