cmake/Help/variable/CMAKE_ARGC.rst

9 lines
267 B
ReStructuredText
Raw Normal View History

2014-08-03 19:52:23 +02:00
CMAKE_ARGC
----------
Number of command line arguments passed to CMake in script mode.
2019-11-11 23:01:05 +01:00
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`` ...