1project('test', ['c', 'cpp']) 2 3cc = meson.get_compiler('c') 4cxx = meson.get_compiler('cpp') 5 6# used by run_unittests.py to grab the path to the C and C++ compilers 7assert(cc.compiles(files('test.c'))) 8assert(cxx.compiles(files('test.c'))) 9 10assert(cc.links(files('test.c'))) 11assert(cxx.links(files('test.c'))) 12