summaryrefslogtreecommitdiffstats
path: root/Help/release/dev/include-guard.rst
blob: 9b0c64c0f22bc6d761d7dc435e17269149e84b19 (plain)
1
2
3
4
5
6
7
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.