The Meson Build System http://mesonbuild.com/
 
 
 
 
 
 

4 lines
118 B

project('link with exe', 'c')
e = executable('prog', 'prog.c')
m = shared_module('module', 'module.c', link_with: e)