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.
 
 
 
 
 
 

14 lines
696 B

project('xcode extra framework test', 'c')
opengl_dep = dependency('OpenGL', method : 'extraframework')
assert(opengl_dep.type_name() == 'extraframeworks', 'type_name is ' + opengl_dep.type_name())
dep_main = dependency('Foundation')
assert(dep_main.type_name() == 'extraframeworks', 'type_name is ' + dep_main.type_name())
# https://github.com/mesonbuild/meson/issues/10002
ldap_dep = dependency('ldap', method : 'extraframework')
assert(ldap_dep.type_name() == 'extraframeworks', 'type_name is ' + ldap_dep.type_name())
stlib = static_library('stat', 'stat.c', install : true, dependencies: [opengl_dep, ldap_dep])
exe = executable('prog', 'prog.c', install : true, dependencies: dep_main)