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.
12 lines
382 B
12 lines
382 B
5 years ago
|
project('statchain', 'c')
|
||
|
|
||
|
host_system = host_machine.system()
|
||
|
if host_system == 'windows' or host_system == 'darwin'
|
||
|
error('MESON_SKIP_TEST test only fails on Linux and BSD')
|
||
|
endif
|
||
|
|
||
|
statlib = static_library('stat', 'stat.c', pic : false)
|
||
|
shlib2 = shared_library('shr2', 'shlib2.c', link_with : statlib)
|
||
|
exe = executable('prog', 'prog.c', link_with : shlib2)
|
||
|
test('runtest', exe)
|