2013-10-15 19:17:36 +04:00
|
|
|
CMAKE_INCLUDE_CURRENT_DIR
|
|
|
|
-------------------------
|
|
|
|
|
|
|
|
Automatically add the current source- and build directories to the include path.
|
|
|
|
|
2015-08-18 08:34:01 +03:00
|
|
|
If this variable is enabled, CMake automatically adds
|
|
|
|
:variable:`CMAKE_CURRENT_SOURCE_DIR` and :variable:`CMAKE_CURRENT_BINARY_DIR`
|
|
|
|
to the include path for each directory. These additional include
|
2013-10-15 19:17:36 +04:00
|
|
|
directories do not propagate down to subdirectories. This is useful
|
|
|
|
mainly for out-of-source builds, where files generated into the build
|
|
|
|
tree are included by files located in the source tree.
|
|
|
|
|
2015-08-18 08:34:01 +03:00
|
|
|
By default ``CMAKE_INCLUDE_CURRENT_DIR`` is ``OFF``.
|