summaryrefslogtreecommitdiffstats
path: root/Help/release/dev/include-guard.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Help/release/dev/include-guard.rst')
-rw-r--r--Help/release/dev/include-guard.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/Help/release/dev/include-guard.rst b/Help/release/dev/include-guard.rst
new file mode 100644
index 0000000..9b0c64c
--- /dev/null
+++ b/Help/release/dev/include-guard.rst
@@ -0,0 +1,8 @@
+include_guard
+-------------
+
+* The :command:`include_guard` command was introduced to allow guarding
+ CMake scripts from being included more than once. The command supports
+ ``DIRECTORY`` and ``GLOBAL`` options to adjust the corresponding include guard
+ scope. If no options given, include guard is similar to basic variable-based
+ check.