CMAKE_ARGC.rst 267 Bytes
Newer Older
1 2 3 4 5
CMAKE_ARGC
----------

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

6 7 8
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`` ...