diff options
author | Aylur <[email protected]> | 2024-06-22 02:32:03 +0200 |
---|---|---|
committer | Aylur <[email protected]> | 2024-06-22 02:32:03 +0200 |
commit | 4c8d03265a87ce76cc31fd36eb476d00efe7ef56 (patch) | |
tree | e33ae224792c811fb9dfaa90fcd57b84599a4ff4 /meson.build |
init 0.1.0
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 19 |
1 files changed, 19 insertions, 0 deletions
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') |