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.

19 lines
494 B

project('multiwrap', 'c')
# Using multiple downloaded projects for great justice.
if meson.get_compiler('c').get_id() != 'msvc'
add_global_arguments('-std=c99', language : 'c')
extra_libs = ['-lm']
else
extra_libs = []
endif
luap = subproject('lua')
pngp = subproject('libpng')
executable('prog', 'prog.c',
include_directories : [pngp.get_variable('incdir'), luap.get_variable('incdir')],
link_with :[pngp.get_variable('libpng'), luap.get_variable('lualib')],
link_args : extra_libs)