https://github.com/Kitware/CMake
Raw File
Tip revision: 736e80dbcafc4c46950688b915e0688f1b817862 authored by Brad King on 10 March 2022, 14:11:13 UTC
CMake 3.23.0-rc3
Tip revision: 736e80d
CMAKE_ARGC.rst
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`` ...
back to top