https://github.com/Kitware/CMake
Raw File
Tip revision: 8d70ed5a10362209d265a15d993f319235aea7e5 authored by Brad King on 07 November 2018, 12:50:43 UTC
CMake 3.13.0-rc3
Tip revision: 8d70ed5
CMAKE_INCLUDE_CURRENT_DIR.rst
CMAKE_INCLUDE_CURRENT_DIR
-------------------------

Automatically add the current source and build directories to the include path.

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
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.

By default ``CMAKE_INCLUDE_CURRENT_DIR`` is ``OFF``.
back to top