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
9 years ago
|
project('default library', 'cpp')
|
||
|
|
||
9 years ago
|
flib = library('ef', 'ef.cpp')
|
||
9 years ago
|
exe = executable('eftest', 'eftest.cpp', link_with : flib)
|
||
|
test('eftest', exe)
|
||
6 years ago
|
|
||
|
# 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)
|