diff options
Diffstat (limited to 'Help/variable/CMAKE_ARGC.rst')
-rw-r--r-- | Help/variable/CMAKE_ARGC.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Help/variable/CMAKE_ARGC.rst b/Help/variable/CMAKE_ARGC.rst new file mode 100644 index 000000000..aec97119a --- /dev/null +++ b/Help/variable/CMAKE_ARGC.rst @@ -0,0 +1,8 @@ +CMAKE_ARGC +---------- + +Number of command line arguments passed to CMake in script mode. + +When run in :ref:`-P <CMake Options>` script mode, CMake sets this variable to +the number of command line arguments. See also :variable:`CMAKE_ARGV0`, +``1``, ``2`` ... |