aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/unit/34 command line/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/unit/34 command line/meson.build')
-rw-r--r--meson/test cases/unit/34 command line/meson.build9
1 files changed, 9 insertions, 0 deletions
diff --git a/meson/test cases/unit/34 command line/meson.build b/meson/test cases/unit/34 command line/meson.build
new file mode 100644
index 000000000..6207ca5e2
--- /dev/null
+++ b/meson/test cases/unit/34 command line/meson.build
@@ -0,0 +1,9 @@
+project('command line test', 'c',
+ default_options : ['default_library=static', 'set_sub_opt=true']
+)
+
+if get_option('set_sub_opt')
+ subproject('subp', default_options : ['subp_opt=default3'])
+else
+ subproject('subp')
+endif