summaryrefslogtreecommitdiff
path: root/hyprland/meson.build
diff options
context:
space:
mode:
authorAylur <[email protected]>2024-09-01 03:23:40 +0200
committerAylur <[email protected]>2024-09-01 03:23:40 +0200
commit20617eb29f0f16300d157e6481e8e4845958c7af (patch)
tree391d1954e8f288be50e114105e23ec4bdf1fa2ae /hyprland/meson.build
parent14872407828660aca895bdb773ff74cca763bf7b (diff)
move to monorepo
Diffstat (limited to 'hyprland/meson.build')
-rw-r--r--hyprland/meson.build19
1 files changed, 19 insertions, 0 deletions
diff --git a/hyprland/meson.build b/hyprland/meson.build
new file mode 100644
index 0000000..07cbb3f
--- /dev/null
+++ b/hyprland/meson.build
@@ -0,0 +1,19 @@
+project(
+ 'astal-hyprland',
+ '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')