Debian Codegraph @

test cases/unit/96 compiler.links file arg/meson.build

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