CMAKE_ARGV0.rst 344 B

123456789
  1. CMAKE_ARGV0
  2. -----------
  3. Command line argument passed to CMake in script mode.
  4. When run in :ref:`-P <CMake Options>` script mode, CMake sets this variable to
  5. the first command line argument. It then also sets ``CMAKE_ARGV1``,
  6. ``CMAKE_ARGV2``, ... and so on, up to the number of command line arguments
  7. given. See also :variable:`CMAKE_ARGC`.