summaryrefslogtreecommitdiffstats
path: root/test cases/unit/96 compiler.links file arg/meson.build
blob: c409dcbd19f3691061eabd85fce9f47bfdfb85e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
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')))