summaryrefslogtreecommitdiff
path: root/Help/variable/CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE.rst
blob: 5fc95f00b2103fb0d9a98685d2f1254ccfd5ddc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE
--------------------------------------

Automatically add the current source- and build directories to the
:prop_tgt:`INTERFACE_INCLUDE_DIRECTORIES` target property.

If this variable is enabled, CMake automatically adds for each shared
library target, static library target, module target and executable
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``.