CMake/Help/variable/CMAKE_ARGC.rst

9 lines
258 B
ReStructuredText

CMAKE_ARGC
----------
Number of command line arguments passed to CMake in script mode.
When run in :ref:`-P <CMake Options>` script mode, CMake sets this variable to
the number of command line arguments. See also :variable:`CMAKE_ARGV0`,
``1``, ``2`` ...