summaryrefslogtreecommitdiff
path: root/tools/meson.build
diff options
context:
space:
mode:
authorzhuyaliang <[email protected]>2021-10-07 21:36:04 +0800
committerraveit65 <[email protected]>2021-10-15 21:33:59 +0200
commitf1c1e72d96c11194ff89752a4e22b6edffa75666 (patch)
tree66b1ef28de295faa53273f025bb4ed0bdf8da733 /tools/meson.build
parentddeb66b5af61a5367c8b72a5e5845317e82b62a4 (diff)
downloadmate-system-monitor-f1c1e72d96c11194ff89752a4e22b6edffa75666.tar.bz2
mate-system-monitor-f1c1e72d96c11194ff89752a4e22b6edffa75666.tar.xz
Add meson build support
Diffstat (limited to 'tools/meson.build')
-rw-r--r--tools/meson.build16
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/meson.build b/tools/meson.build
new file mode 100644
index 0000000..e73131c
--- /dev/null
+++ b/tools/meson.build
@@ -0,0 +1,16 @@
+commands = [
+ 'renice',
+ 'kill',
+]
+
+foreach command : commands
+ executable('gsm-' + command,
+ 'msm_execute_helper.c',
+ dependencies: [
+ glib,
+ ],
+ c_args: '-DCOMMAND="@0@"'.format(command),
+ install: true,
+ install_dir: join_paths(get_option('libexecdir'), meson.project_name())
+ )
+endforeach