summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_SCRIPT_MODE_FILE.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Help/variable/CMAKE_SCRIPT_MODE_FILE.rst')
-rw-r--r--Help/variable/CMAKE_SCRIPT_MODE_FILE.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/Help/variable/CMAKE_SCRIPT_MODE_FILE.rst b/Help/variable/CMAKE_SCRIPT_MODE_FILE.rst
new file mode 100644
index 0000000..ad73cc0
--- /dev/null
+++ b/Help/variable/CMAKE_SCRIPT_MODE_FILE.rst
@@ -0,0 +1,8 @@
+CMAKE_SCRIPT_MODE_FILE
+----------------------
+
+Full path to the -P script file currently being processed.
+
+When run in -P script mode, CMake sets this variable to the full path
+of the script file. When run to configure a CMakeLists.txt file, this
+variable is not set.