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
477 B

project('xcode extra framework test', 'c')
dep_libs = dependency('OpenGL', method : 'extraframework')
assert(dep_libs.type_name() == 'extraframeworks', 'type_name is ' + dep_libs.type_name())
dep_main = dependency('Foundation')
assert(dep_main.type_name() == 'extraframeworks', 'type_name is ' + dep_main.type_name())
stlib = static_library('stat', 'stat.c', install : true, dependencies: dep_libs)
exe = executable('prog', 'prog.c', install : true, dependencies: dep_main)