https://github.com/Kitware/CMake
Raw File
Tip revision: 91ccfa330240ccd9766f59d9efcac595c4a1b033 authored by Brad King on 01 November 2022, 13:36:33 UTC
CMake 3.23.5
Tip revision: 91ccfa3
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