diff options
author | zhuyaliang <[email protected]> | 2023-10-19 11:41:29 +0800 |
---|---|---|
committer | Luke from DC <[email protected]> | 2023-12-27 04:24:30 +0000 |
commit | bca3b80da6b3653ada9e0546a3fd053cdc4651d0 (patch) | |
tree | 91882520deb84786b2b2a7bf20470039d19265c8 /capplets/time-admin/src/meson.build | |
parent | c2e94e1925f3c7acfa3fd3352dc8fdafe6375adc (diff) | |
download | mate-control-center-bca3b80da6b3653ada9e0546a3fd053cdc4651d0.tar.bz2 mate-control-center-bca3b80da6b3653ada9e0546a3fd053cdc4651d0.tar.xz |
Add meson build support
Diffstat (limited to 'capplets/time-admin/src/meson.build')
-rw-r--r-- | capplets/time-admin/src/meson.build | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/capplets/time-admin/src/meson.build b/capplets/time-admin/src/meson.build new file mode 100644 index 00000000..59247248 --- /dev/null +++ b/capplets/time-admin/src/meson.build @@ -0,0 +1,29 @@ +sources = files( + 'main.c', + 'time-map.c', + 'time-share.c', + 'time-tool.c', + 'time-zone.c' +) + +sources += gnome.compile_resources( + 'mate-time-admin-resources', + 'org.mate.mcc.ta.gresource.xml', + c_name: 'time_admin', + export: true +) + +cflags += [ + '-DMATECC_DATA_DIR="@0@"'.format(mcc_pkgdatadir), + '-DTIMPZONEDIR="@0@"'.format(mcc_timezonedir), +] + +executable( + 'mate-time-admin', + sources : sources, + include_directories: config_inc, + dependencies : [common_deps, libcommon_dep, polkit_dep, m_dep], + c_args : cflags, + install : true, + install_dir : get_option('bindir') +) |