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
556 B
23 lines
556 B
4 years ago
|
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],
|
||
|
)
|