cmake/Help/variable/CMAKE_ARGC.rst
2019-11-11 23:01:05 +01:00

9 lines
267 B
ReStructuredText

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