aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/unit/6 std override/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/unit/6 std override/meson.build')
-rw-r--r--meson/test cases/unit/6 std override/meson.build10
1 files changed, 10 insertions, 0 deletions
diff --git a/meson/test cases/unit/6 std override/meson.build b/meson/test cases/unit/6 std override/meson.build
new file mode 100644
index 000000000..0eac75222
--- /dev/null
+++ b/meson/test cases/unit/6 std override/meson.build
@@ -0,0 +1,10 @@
+project('cpp std override', 'cpp',
+ default_options : ['cpp_std=c++98',
+ 'werror=true'])
+
+executable('plain', 'progp.cpp',
+ override_options : 'cpp_std=none')
+executable('v98', 'prog98.cpp',
+ override_options : 'werror=false')
+executable('v11', 'prog11.cpp',
+ override_options : 'cpp_std=c++11')