summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_ARGC.rst
blob: 30db2a2da5a0fcae37cdcb66ed183c5c39fa7248 (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 <Script Processing Mode>` script mode, CMake sets this
variable to the number of command line arguments.  See also
:variable:`CMAKE_ARGV0`, ``1``, ``2`` ...