diff options
Diffstat (limited to 'docs/markdown/snippets/customimplicit.md')
-rw-r--r-- | docs/markdown/snippets/customimplicit.md | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/docs/markdown/snippets/customimplicit.md b/docs/markdown/snippets/customimplicit.md deleted file mode 100644 index 8956c69..0000000 --- a/docs/markdown/snippets/customimplicit.md +++ /dev/null @@ -1,17 +0,0 @@ -## Do not add custom target dir to header path if `implicit_include_directories` is `false` - -If you do the following: - -```meson -# in some subdirectory -gen_h = custom_target(...) -# in some other directory -executable('foo', 'foo.c', gen_h) -``` - -then the output directory of the custom target is automatically added -to the header search path. This is convenient, but sometimes it can -lead to problems. Starting with this version, the directory will no -longer be put in the search path if the target has -`implicit_include_directories: false`. In these cases you need to set -up the path manually with `include_directories`. |