aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/common/239 includedir violation/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/common/239 includedir violation/meson.build')
-rw-r--r--meson/test cases/common/239 includedir violation/meson.build11
1 files changed, 11 insertions, 0 deletions
diff --git a/meson/test cases/common/239 includedir violation/meson.build b/meson/test cases/common/239 includedir violation/meson.build
new file mode 100644
index 000000000..0216be6ef
--- /dev/null
+++ b/meson/test cases/common/239 includedir violation/meson.build
@@ -0,0 +1,11 @@
+project('foo', 'c')
+
+# It is fine to include the root source dir
+include_directories('.')
+subproject('sub')
+
+# This is here rather than in failing because this needs a
+# transition period to avoid breaking existing projects.
+# Once this becomes an error, move this under failing tests.
+
+inc = include_directories('subprojects/sub/include')