summaryrefslogtreecommitdiffstats
path: root/Help/release
diff options
context:
space:
mode:
authorPavel Solodovnikov <hellyeahdominate@gmail.com>2017-06-22 08:13:15 (GMT)
committerPavel Solodovnikov <hellyeahdominate@gmail.com>2017-06-22 08:13:15 (GMT)
commit80f1221f5088bb7ea7864a819c36d03e96f21155 (patch)
treefd51e3c07e4721c4e3d893a354f9a5d939c6d4cd /Help/release
parent85b52a04bd225d04f54cabccc4cbd10f788c1bf0 (diff)
downloadCMake-80f1221f5088bb7ea7864a819c36d03e96f21155.zip
CMake-80f1221f5088bb7ea7864a819c36d03e96f21155.tar.gz
CMake-80f1221f5088bb7ea7864a819c36d03e96f21155.tar.bz2
include_guard: add doc pages and a release note
Diffstat (limited to 'Help/release')
-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.