summaryrefslogtreecommitdiff
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.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Help/variable/CMAKE_ARGC.rst b/Help/variable/CMAKE_ARGC.rst
new file mode 100644
index 0000000000..be120b8fed
--- /dev/null
+++ b/Help/variable/CMAKE_ARGC.rst
@@ -0,0 +1,7 @@
+CMAKE_ARGC
+----------
+
+Number of command line arguments passed to CMake in script mode.
+
+When run in -P script mode, CMake sets this variable to the number of
+command line arguments. See also CMAKE_ARGV0, 1, 2 ...