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.
23 lines
439 B
23 lines
439 B
8 years ago
|
dep2sources = ['dep2.c', 'dep2.h']
|
||
|
|
||
|
dep2lib = shared_library(
|
||
|
'dep2lib',
|
||
|
sources : dep2sources,
|
||
|
dependencies : gobj,
|
||
|
install : true
|
||
|
)
|
||
|
|
||
|
dep2gir = gnome.generate_gir(
|
||
|
dep2lib,
|
||
|
sources : dep2sources,
|
||
|
nsversion : '1.0',
|
||
|
namespace : 'MesonDep2',
|
||
|
symbol_prefix : 'meson',
|
||
|
identifier_prefix : 'Meson',
|
||
|
includes : ['GObject-2.0'],
|
||
|
install : true
|
||
|
)
|
||
|
|
||
|
dep2_dep = declare_dependency(link_with : dep2lib,
|
||
|
sources : [dep2gir])
|