Files
CMake/Help/release/dev/include-guard.rst
2017-06-22 11:13:15 +03:00

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.