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.

9 lines
225 B

project('link with shared module', 'c')
if host_machine.system() != 'darwin'
error('MESON_SKIP_TEST test only fails on OSX')
endif
m = shared_module('mymodule', 'module.c')
e = executable('prog', 'prog.c', link_with : m)