| 1 |
conf = configuration_data() |
| 2 |
conf.set('HEADER', 'glib-object.h') |
| 3 |
|
| 4 |
meson_sample_header = configure_file( |
| 5 |
input : 'meson-sample.h.in', |
| 6 |
output : 'meson-sample.h', |
| 7 |
configuration : conf) |
| 8 |
|
| 9 |
statichelper_sources = files('meson-sample.c') + [meson_sample_header] |
| 10 |
|
| 11 |
statichelper_lib = static_library( |
| 12 |
'statichelper', |
| 13 |
sources : statichelper_sources, |
| 14 |
dependencies : gobj, |
| 15 |
) |
| 16 |
|
| 17 |
statichelper_inc = include_directories('.') |
| 18 |
statichelper_dep = declare_dependency( |
| 19 |
link_with: statichelper_lib, |
| 20 |
dependencies : gobj, |
| 21 |
include_directories : [statichelper_inc], |
| 22 |
) |