summaryrefslogtreecommitdiffstats
path: root/test cases/common/82 add language/meson.build
blob: e99f33a81548c8ab9d8f1e8355987278294f1dd8 (plain)
1
2
3
4
5
6
7
8
9
10
project('add language', 'c')

test('C', executable('cprog', 'prog.c'))

assert(add_languages('cpp', native: false), 'Add_languages returned false on success')
assert(not add_languages('klingon', required : false), 'Add_languages returned true on failure.')

test('C++', executable('cppprog', 'prog.cc'))

add_languages('c', native: false)