CMAKE_ARGV0.rst 302 B

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