The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
339 B
11 lines
339 B
5 years ago
|
project('add language', 'c')
|
||
|
|
||
|
test('C', executable('cprog', 'prog.c'))
|
||
|
|
||
5 years ago
|
assert(add_languages('cpp', native: false), 'Add_languages returned false on success')
|
||
5 years ago
|
assert(not add_languages('klingon', required : false), 'Add_languages returned true on failure.')
|
||
|
|
||
|
test('C++', executable('cppprog', 'prog.cc'))
|
||
|
|
||
|
add_languages('c', native: false)
|