diff options
Diffstat (limited to 'test cases/unit/116 c cpp stds')
| -rw-r--r-- | test cases/unit/116 c cpp stds/meson.build | 17 | ||||
| -rw-r--r-- | test cases/unit/116 c cpp stds/meson.options | 5 |
2 files changed, 22 insertions, 0 deletions
diff --git a/test cases/unit/116 c cpp stds/meson.build b/test cases/unit/116 c cpp stds/meson.build new file mode 100644 index 000000000..fb68af610 --- /dev/null +++ b/test cases/unit/116 c cpp stds/meson.build @@ -0,0 +1,17 @@ +# SPDX-License-Identifier: Apache-2.0 +# Copyright © 2024 Intel Corporation + +project( + 'c cpp stds', + default_options: [ + 'c_std=gnu89,c89', + 'cpp_std=gnu++98,vc++11', + ], +) + +if get_option('with-c') + add_languages('c', 'cpp', native : false) +endif +if get_option('with-objc') + add_languages('objc', 'objcpp', native : false) +endif diff --git a/test cases/unit/116 c cpp stds/meson.options b/test cases/unit/116 c cpp stds/meson.options new file mode 100644 index 000000000..704075881 --- /dev/null +++ b/test cases/unit/116 c cpp stds/meson.options @@ -0,0 +1,5 @@ +# SPDX-License-Identifier: Apache-2.0 +# Copyright © 2024 Intel Corporation + +option('with-c', type : 'boolean', value : false) +option('with-objc', type : 'boolean', value : false) |
