summaryrefslogtreecommitdiff
path: root/Help/variable/CMAKE_CURRENT_LIST_LINE.rst
blob: 7f839c2b064091ab8e0b4c0dec50a13d0a5ccb27 (plain)
1
2
3
4
5
6
7
8
9
10
11
CMAKE_CURRENT_LIST_LINE
-----------------------

The line number of the current file being processed.

This is the line number of the file currently being processed by
cmake.

If CMake is currently processing deferred calls scheduled by
the :command:`cmake_language(DEFER)` command, this variable
evaluates to ``DEFERRED`` instead of a specific line number.