blob: 2313ffd60e75cac32cf06502c752f7c96a91bd3b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
project('gi-sample-meson', 'c')
libsources = ['gi-sample.c', 'gi-sample.h']
gnome = import('gnome')
gobj_dep = dependency('gobject-2.0')
girlib = shared_library(
'gi-sample',
sources : libsources,
dependencies : [gobj_dep],
install : true
)
gnome.generate_gir(
girlib,
sources : libsources,
nsversion : '1.0',
namespace : 'GISample',
symbol_prefix : 'gi_sample',
identifier_prefix : 'GISample',
includes : ['GObject-2.0'],
install : true,
)
|