aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/common/5 linkstatic/meson.build
blob: 1f02a5c88b6da18c5ca0f7eef4bb57732fba54ad (plain)
1
2
3
4
5
6
project('static library linking test', 'c')

lib = build_target('mylib', 'libfile.c', 'libfile2.c', 'libfile3.c', 'libfile4.c', target_type : 'static_library')
exe = executable('prog', 'main.c', link_with : lib)

test('runtest', exe)