CMake/Help/prop_tgt/INTERFACE_INCLUDE_DIRECTORI...

14 lines
580 B
ReStructuredText

INTERFACE_INCLUDE_DIRECTORIES
-----------------------------
List of public include directories for a library.
Targets may populate this property to publish the include directories
required to compile against the headers for the target. Consuming
targets can add entries to their own INCLUDE_DIRECTORIES property such
as $<TARGET_PROPERTY:foo,INTERFACE_INCLUDE_DIRECTORIES> to use the
include directories specified in the interface of 'foo'.
This property also supports generator expressions. See the
:manual:`cmake-generator-expressions(7)` manual for available expressions.