https://github.com/Kitware/CMake
Raw File
Tip revision: 1b4482f65dd41f21ec8abc0777b8dc1f0381bbd6 authored by Brad King on 26 November 2019, 14:18:07 UTC
CMake 3.16.0
Tip revision: 1b4482f
CMAKE_ARGV0.rst
CMAKE_ARGV0
-----------

Command line argument passed to CMake in script mode.

When run in :ref:`-P <Script Processing Mode>` script mode, CMake sets this
variable to the first command line argument.  It then also sets ``CMAKE_ARGV1``,
``CMAKE_ARGV2``, ... and so on, up to the number of command line arguments
given.  See also :variable:`CMAKE_ARGC`.
back to top