https://github.com/Kitware/CMake
Raw File
Tip revision: c974557598645360fbabac71352b083117e3cc17 authored by Brad King on 01 November 2022, 14:53:07 UTC
CMake 3.24.3
Tip revision: c974557
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