summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_INCLUDE_CURRENT_DIR.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Help/variable/CMAKE_INCLUDE_CURRENT_DIR.rst')
-rw-r--r--Help/variable/CMAKE_INCLUDE_CURRENT_DIR.rst13
1 files changed, 13 insertions, 0 deletions
diff --git a/Help/variable/CMAKE_INCLUDE_CURRENT_DIR.rst b/Help/variable/CMAKE_INCLUDE_CURRENT_DIR.rst
new file mode 100644
index 0000000..79f3952
--- /dev/null
+++ b/Help/variable/CMAKE_INCLUDE_CURRENT_DIR.rst
@@ -0,0 +1,13 @@
+CMAKE_INCLUDE_CURRENT_DIR
+-------------------------
+
+Automatically add the current source- and build directories to the include path.
+
+If this variable is enabled, CMake automatically adds in each
+directory ${CMAKE_CURRENT_SOURCE_DIR} and ${CMAKE_CURRENT_BINARY_DIR}
+to the include path for this 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.