aboutsummaryrefslogtreecommitdiff
path: root/test cases/common/89 default library/meson.build
blob: 508f25f5b5a163c23808b3aa0be6efcdb36c359e (plain)
1
2
3
4
5
6
7
8
9
10
project('default library', 'cpp')

flib = library('ef', 'ef.cpp')
exe = executable('eftest', 'eftest.cpp', link_with : flib)
test('eftest', exe)

# Same as above, but using build_target()
flib2 = build_target('ef2', 'ef.cpp', target_type: 'library')
exe2 = executable('eftest2', 'eftest.cpp', link_with : flib2)
test('eftest2', exe2)