cmake/Help/variable/CMAKE_ARGV0.rst

10 lines
353 B
ReStructuredText
Raw Normal View History

2014-08-03 19:52:23 +02:00
CMAKE_ARGV0
-----------
Command line argument 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 first command line argument. It then also sets ``CMAKE_ARGV1``,
2015-11-17 17:22:37 +01:00
``CMAKE_ARGV2``, ... and so on, up to the number of command line arguments
given. See also :variable:`CMAKE_ARGC`.