summaryrefslogtreecommitdiff
path: root/tray/meson.build
diff options
context:
space:
mode:
authorAylur <[email protected]>2024-09-01 03:08:51 +0200
committerAylur <[email protected]>2024-09-01 03:08:51 +0200
commit6142022fde5ffbacfa0f89d85ce416d2fce48137 (patch)
tree2cbfbff485b49f305990b80134b39681439e7bde /tray/meson.build
parentd26245409c124a769f4c1f4f25399735f8c80758 (diff)
move to monorepo
Diffstat (limited to 'tray/meson.build')
-rw-r--r--tray/meson.build19
1 files changed, 19 insertions, 0 deletions
diff --git a/tray/meson.build b/tray/meson.build
new file mode 100644
index 0000000..4a52d56
--- /dev/null
+++ b/tray/meson.build
@@ -0,0 +1,19 @@
+project(
+ 'astal-tray',
+ 'vala',
+ 'c',
+ version: run_command('cat', join_paths(meson.project_source_root(), 'version')).stdout().strip(),
+ meson_version: '>= 0.62.0',
+ default_options: [
+ 'warning_level=2',
+ 'werror=false',
+ 'c_std=gnu11',
+ ],
+)
+
+assert(
+ get_option('lib') or get_option('cli'),
+ 'Either lib or cli option must be set to true.',
+)
+
+subdir('src')