aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/frameworks/34 gir static lib/statichelper/meson.build
blob: a81537231487545c51c28f453e9fbb00a6d77c51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
conf = configuration_data()
conf.set('HEADER', 'glib-object.h')

meson_sample_header = configure_file(
  input : 'meson-sample.h.in',
  output : 'meson-sample.h',
  configuration : conf)

statichelper_sources = files('meson-sample.c') + [meson_sample_header]

statichelper_lib = static_library(
  'statichelper',
  sources : statichelper_sources,
  dependencies : gobj,
)

statichelper_inc = include_directories('.')
statichelper_dep = declare_dependency(
  link_with: statichelper_lib,
  dependencies : gobj,
  include_directories : [statichelper_inc],
)