diff options
author | Aylur <[email protected]> | 2024-09-01 14:17:36 +0200 |
---|---|---|
committer | Aylur <[email protected]> | 2024-09-01 14:17:36 +0200 |
commit | 3e3f045d650a839d21f7b649da7aa5c19bd2e38b (patch) | |
tree | 9a974eb0d38932d474940288c662bd1f01ea3088 /lib/auth/meson.build | |
parent | 408faee16911ccfaa3e7dad69f9938fd4a696704 (diff) |
monorepo structuring
Diffstat (limited to 'lib/auth/meson.build')
-rw-r--r-- | lib/auth/meson.build | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/lib/auth/meson.build b/lib/auth/meson.build new file mode 100644 index 0000000..768e0f0 --- /dev/null +++ b/lib/auth/meson.build @@ -0,0 +1,23 @@ +project( + 'astal_auth', + 'c', + version: run_command('cat', join_paths(meson.project_source_root(), 'version')).stdout().strip(), + default_options: [ + 'c_std=gnu11', + 'warning_level=3', + 'prefix=/usr', + ], +) + +add_project_arguments(['-Wno-pedantic'], language: 'c') + +version_split = meson.project_version().split('.') +lib_so_version = version_split[0] + '.' + version_split[1] + +pkg_config = import('pkgconfig') +gnome = import('gnome') + +subdir('include') +subdir('src') + +install_data('pam/astal-auth', install_dir: get_option('sysconfdir') / 'pam.d') |