aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/unit/59 introspect buildoptions/subprojects
diff options
context:
space:
mode:
authorAngelos Mouzakitis <a.mouzakitis@virtualopensystems.com>2023-10-10 14:33:42 +0000
committerAngelos Mouzakitis <a.mouzakitis@virtualopensystems.com>2023-10-10 14:33:42 +0000
commitaf1a266670d040d2f4083ff309d732d648afba2a (patch)
tree2fc46203448ddcc6f81546d379abfaeb323575e9 /meson/test cases/unit/59 introspect buildoptions/subprojects
parente02cda008591317b1625707ff8e115a4841aa889 (diff)
Add submodule dependency filesHEADmaster
Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec
Diffstat (limited to 'meson/test cases/unit/59 introspect buildoptions/subprojects')
-rw-r--r--meson/test cases/unit/59 introspect buildoptions/subprojects/evilFile.txt0
-rw-r--r--meson/test cases/unit/59 introspect buildoptions/subprojects/projectA/meson.build3
-rw-r--r--meson/test cases/unit/59 introspect buildoptions/subprojects/projectA/meson_options.txt1
-rw-r--r--meson/test cases/unit/59 introspect buildoptions/subprojects/projectBad/meson.build9
-rw-r--r--meson/test cases/unit/59 introspect buildoptions/subprojects/projectBad/meson_options.txt1
5 files changed, 14 insertions, 0 deletions
diff --git a/meson/test cases/unit/59 introspect buildoptions/subprojects/evilFile.txt b/meson/test cases/unit/59 introspect buildoptions/subprojects/evilFile.txt
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/meson/test cases/unit/59 introspect buildoptions/subprojects/evilFile.txt
diff --git a/meson/test cases/unit/59 introspect buildoptions/subprojects/projectA/meson.build b/meson/test cases/unit/59 introspect buildoptions/subprojects/projectA/meson.build
new file mode 100644
index 000000000..1ab9ee8a5
--- /dev/null
+++ b/meson/test cases/unit/59 introspect buildoptions/subprojects/projectA/meson.build
@@ -0,0 +1,3 @@
+project('introspect subproject A', 'c', default_options: ['cpp_std=c++11', 'buildtype=debug'])
+
+add_languages('cpp')
diff --git a/meson/test cases/unit/59 introspect buildoptions/subprojects/projectA/meson_options.txt b/meson/test cases/unit/59 introspect buildoptions/subprojects/projectA/meson_options.txt
new file mode 100644
index 000000000..fa77f954a
--- /dev/null
+++ b/meson/test cases/unit/59 introspect buildoptions/subprojects/projectA/meson_options.txt
@@ -0,0 +1 @@
+option('subproj_var', type: 'boolean', value: false)
diff --git a/meson/test cases/unit/59 introspect buildoptions/subprojects/projectBad/meson.build b/meson/test cases/unit/59 introspect buildoptions/subprojects/projectBad/meson.build
new file mode 100644
index 000000000..500c1b9cc
--- /dev/null
+++ b/meson/test cases/unit/59 introspect buildoptions/subprojects/projectBad/meson.build
@@ -0,0 +1,9 @@
+pfggggaergaeg(sdgrgjgn)aga
+
+rgqeh
+th
+thtr
+e
+tb
+tbqebt
+tbqebttrtt \ No newline at end of file
diff --git a/meson/test cases/unit/59 introspect buildoptions/subprojects/projectBad/meson_options.txt b/meson/test cases/unit/59 introspect buildoptions/subprojects/projectBad/meson_options.txt
new file mode 100644
index 000000000..f15d3529f
--- /dev/null
+++ b/meson/test cases/unit/59 introspect buildoptions/subprojects/projectBad/meson_options.txt
@@ -0,0 +1 @@
+option('should_not_appear', type: 'integer', min: 0, value: 125)