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
309 B
11 lines
309 B
project('test', ['c', 'cpp']) |
|
|
|
cc = meson.get_compiler('c') |
|
cxx = meson.get_compiler('cpp') |
|
|
|
# used by run_unittests.py to grab the path to the C and C++ compilers |
|
assert(cc.compiles(files('test.c'))) |
|
assert(cxx.compiles(files('test.c'))) |
|
|
|
assert(cc.links(files('test.c'))) |
|
assert(cxx.links(files('test.c')))
|
|
|