From 432cd2fe2f2e33b2cc8bec60246ea59b7e2210f9 Mon Sep 17 00:00:00 2001 From: John Turner Date: Thu, 24 Jul 2025 03:58:01 -0400 Subject: init --- meson.build | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 meson.build (limited to 'meson.build') diff --git a/meson.build b/meson.build new file mode 100644 index 0000000..2960abd --- /dev/null +++ b/meson.build @@ -0,0 +1,24 @@ +project( + 'pam_xdg', + 'cpp', + version: '0.0.1', + meson_version: '>=1.4.0', + default_options: ['warning_level=3', 'cpp_std=c++23'], +) + +pam = dependency('pam') +sqlite3 = dependency('sqlite3') +sqlitecpp = dependency('sqlitecpp') + +sources = files('src/pam_xdg.cpp') + +libdir = get_option('libdir') + +pam_xdg = shared_library( + 'pam_xdg', + sources, + dependencies: [pam, sqlite3, sqlitecpp], + install: true, + install_dir: libdir / 'security', + name_prefix: '', +) -- cgit v1.2.3