The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
334 B
11 lines
334 B
5 years ago
|
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)
|