summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE.rst
blob: 697682ba60dbc8b146299e43a1036f2e29f9d8fc (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``.