Files
cmake/Help/prop_rule/INCLUDE_DIRECTORIES.rst
T
2026-09-20 11:43:10 +02:00

21 lines
687 B
ReStructuredText

INCLUDE_DIRECTORIES
-------------------
.. versionadded:: 4.5
List of preprocessor include file search directories.
The ``INCLUDE_DIRECTORIES`` property may be set to a
:ref:`semicolon-separated list <CMake Language Lists>` of directories given so
far to the :command:`set_property(RULE)` command.
The value of this property is used by the rule definitions to set the include
paths for the compiler.
Relative paths should not be added to this property.
Contents of ``INCLUDE_DIRECTORIES`` may use :manual:`generator expressions
<cmake-generator-expressions(7)>` with the syntax ``$<...>``. See the
:manual:`cmake-buildsystem(7)` manual for more on defining buildsystem
properties.