vendored-meson/meson/test cases/unit/115 c cpp stds/meson.build
raw| 1 | # SPDX-License-Identifier: Apache-2.0 |
| 2 | # Copyright © 2024 Intel Corporation |
| 3 | |
| 4 | project( |
| 5 | 'c cpp stds', |
| 6 | default_options: [ |
| 7 | 'c_std=gnu89,c89', |
| 8 | 'cpp_std=gnu++98,vc++11', |
| 9 | ], |
| 10 | ) |
| 11 | |
| 12 | if get_option('with-c') |
| 13 | add_languages('c', 'cpp', native : false) |
| 14 | endif |
| 15 | if get_option('with-objc') |
| 16 | add_languages('objc', 'objcpp', native : false) |
| 17 | endif |