• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1CMAKE_INCLUDE_CURRENT_DIR
2-------------------------
3
4Automatically add the current source and build directories to the include path.
5
6If this variable is enabled, CMake automatically adds
7:variable:`CMAKE_CURRENT_SOURCE_DIR` and :variable:`CMAKE_CURRENT_BINARY_DIR`
8to the include path for each directory.  These additional include
9directories do not propagate down to subdirectories.  This is useful
10mainly for out-of-source builds, where files generated into the build
11tree are included by files located in the source tree.
12
13By default ``CMAKE_INCLUDE_CURRENT_DIR`` is ``OFF``.
14