From 5e6c47a4b2f7f96907d618ff6d33e5df6ebb6f20 Mon Sep 17 00:00:00 2001 From: Aleksey Filippov Date: Thu, 1 Mar 2018 15:21:03 +0000 Subject: [PATCH] Add reference to implicit_include_directories from include_directories() [skip ci] Closes #3153 --- docs/markdown/Reference-manual.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md index 4dc87c932..0d390b429 100644 --- a/docs/markdown/Reference-manual.md +++ b/docs/markdown/Reference-manual.md @@ -661,6 +661,10 @@ Note that this function call itself does not add the directories into the search path, since there is no global search path. For something like that, see [`add_project_arguments()`](#add_project_arguments). +See also `implicit_include_directories` parameter of +[executable()](#executable), which adds current source and build directories +to include path. + Each directory given is converted to two include paths: one that is relative to the source root and one relative to the build root.