mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-02 03:39:43 -06:00
9 lines
343 B
ReStructuredText
9 lines
343 B
ReStructuredText
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.
|