From 4c8d03265a87ce76cc31fd36eb476d00efe7ef56 Mon Sep 17 00:00:00 2001 From: Aylur Date: Sat, 22 Jun 2024 02:32:03 +0200 Subject: init 0.1.0 --- meson.build | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 meson.build (limited to 'meson.build') diff --git a/meson.build b/meson.build new file mode 100644 index 0000000..6621735 --- /dev/null +++ b/meson.build @@ -0,0 +1,19 @@ +project( + 'astal-battery', + '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') -- cgit v1.2.3