vendored-meson/meson/test cases/features/1 baseline/meson.build
raw| 1 | project('baseline', 'c') |
| 2 | subdir('init_features') |
| 3 | |
| 4 | baseline = mod_features.test(SSE3, NEON, anyfet: true) |
| 5 | message(baseline) |
| 6 | baseline_args = baseline[1]['args'] |
| 7 | foreach def : baseline[1]['defines'] |
| 8 | baseline_args += ['-DHAVE_' + def] |
| 9 | endforeach |
| 10 | add_project_arguments(baseline_args, language: ['c', 'cpp']) |
| 11 | |
| 12 | exe = executable('baseline', 'baseline.c') |
| 13 | test('baseline', exe) |
| 14 |