2021-05-17 20:12:09 +00:00
|
|
|
gen_demo_header = find_program('../build-aux/meson/gen-demo-header.py')
|
|
|
|
demo_profile = get_option('profile')
|
2021-02-12 04:35:26 +00:00
|
|
|
|
|
|
|
demo_conf_h = declare_dependency(
|
2021-05-17 20:12:09 +00:00
|
|
|
sources: custom_target('demo-header',
|
2021-05-18 03:02:27 +00:00
|
|
|
command: [gen_demo_header, meson.source_root(), demo_profile],
|
2021-05-17 20:12:09 +00:00
|
|
|
capture: true,
|
|
|
|
output: 'demo_conf.h',
|
|
|
|
build_by_default: true,
|
|
|
|
build_always_stale: true,
|
|
|
|
)
|
2021-02-12 04:35:26 +00:00
|
|
|
)
|
|
|
|
|
2021-06-01 12:16:27 +00:00
|
|
|
# appdata
|
|
|
|
today = 'unknown'
|
|
|
|
date = find_program('date',
|
|
|
|
required: false)
|
|
|
|
if date.found()
|
|
|
|
r = run_command(date, '-I')
|
|
|
|
if r.returncode() == 0
|
|
|
|
today = r.stdout().strip()
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
appdata_config = configuration_data()
|
|
|
|
appdata_config.set('BUILD_VERSION', meson.project_version())
|
|
|
|
appdata_config.set('BUILD_DATE', today)
|
|
|
|
|
2019-06-30 13:25:30 +00:00
|
|
|
subdir('constraint-editor')
|
2017-03-12 16:54:44 +00:00
|
|
|
subdir('gtk-demo')
|
|
|
|
subdir('icon-browser')
|
2019-03-12 14:05:25 +00:00
|
|
|
subdir('node-editor')
|
2017-03-12 16:54:44 +00:00
|
|
|
subdir('widget-factory')
|
2020-05-12 19:28:34 +00:00
|
|
|
subdir('print-editor')
|