summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorJohn Turner <jturner.usa@gmail.com>2025-07-24 03:58:01 -0400
committerJohn Turner <jturner.usa@gmail.com>2025-07-24 09:56:04 -0400
commit432cd2fe2f2e33b2cc8bec60246ea59b7e2210f9 (patch)
tree2fa6f6a0023baaef000f400af98fbb8b8548ac13 /meson.build
downloadpam_xdg-432cd2fe2f2e33b2cc8bec60246ea59b7e2210f9.tar.gz
init
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build24
1 files changed, 24 insertions, 0 deletions
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: '',
+)