Files
federated-calendar/src/gui/views/meson.build
T
Jamie Gravendeel a509de8b1e gui: Port to Blueprint
This was mostly done with `blueprint-compiler port`.

Since Blueprint doesn't know about custom templates, I had to manually change some values from strings to literals.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/567>
2025-06-08 14:31:01 +02:00

43 lines
852 B
Meson

calendar_incs += include_directories('.')
blueprints = custom_target(
'blueprints',
input: files(
'gcal-agenda-view.blp',
'gcal-month-cell.blp',
'gcal-month-popover.blp',
'gcal-month-view.blp',
'gcal-week-header.blp',
'gcal-week-view.blp',
),
output: '.',
command: [
find_program('blueprint-compiler'),
'batch-compile',
'@OUTPUT@',
'@CURRENT_SOURCE_DIR@',
'@INPUT@',
],
)
built_sources += gnome.compile_resources(
'views-resources',
'views.gresource.xml',
c_name: 'views',
dependencies: blueprints,
)
sources += files(
'gcal-agenda-view.c',
'gcal-month-cell.c',
'gcal-month-popover.c',
'gcal-month-view.c',
'gcal-month-view-row.c',
'gcal-view.c',
'gcal-week-grid.c',
'gcal-week-header.c',
'gcal-week-hour-bar.c',
'gcal-week-view.c',
'gcal-week-view-common.c',
)