summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_ARGC.rst
blob: aec97119a108313c0092286609dcc7365e94de55 (plain)
1
2
3
4
5
6
7
8
CMAKE_ARGC
----------

Number of command line arguments passed to CMake in script mode.

When run in :ref:`-P <CMake Options>` script mode, CMake sets this variable to
the number of command line arguments.  See also :variable:`CMAKE_ARGV0`,
``1``, ``2`` ...