cmake/Help/variable/CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE.rst

13 lines
563 B
ReStructuredText
Raw Normal View History

2014-08-03 19:52:23 +02:00
CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE
--------------------------------------
2015-11-17 17:22:37 +01:00
Automatically add the current source- and build directories to the
:prop_tgt:`INTERFACE_INCLUDE_DIRECTORIES` target property.
2014-08-03 19:52:23 +02:00
If this variable is enabled, CMake automatically adds for each shared
library target, static library target, module target and executable
2015-11-17 17:22:37 +01:00
target, :variable:`CMAKE_CURRENT_SOURCE_DIR` and
:variable:`CMAKE_CURRENT_BINARY_DIR` to
the :prop_tgt:`INTERFACE_INCLUDE_DIRECTORIES` target property. By default
``CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE`` is ``OFF``.