https://github.com/Kitware/CMake
Raw File
Tip revision: b243367b360065dd9734d86c20918202e5d7145b authored by Brad King on 01 June 2022, 15:15:18 UTC
CMake 3.22.5
Tip revision: b243367
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