summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_ARGC.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Help/variable/CMAKE_ARGC.rst')
-rw-r--r--Help/variable/CMAKE_ARGC.rst8
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 0000000..30db2a2
--- /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 <Script Processing Mode>` script mode, CMake sets this
+variable to the number of command line arguments. See also
+:variable:`CMAKE_ARGV0`, ``1``, ``2`` ...