aboutsummaryrefslogtreecommitdiff
path: root/meson.build
blob: f8cfebed1499b6bb57d39c5f7d2a13ab9671af1b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
project(
        'npass',
        'c',
        version : '0.1',
        license: 'GPL-3.0-only',
        default_options : [
                'c_std=c99',
                'warning_level=2',
        ]
)

add_project_arguments(
	[
		'-D_POSIX_C_SOURCE=200809L',
		'-D_DEFAULT_SOURCE',
		'-Wvla',
	],
	language: 'c',
)

sqlite_dep = dependency('sqlite3')
gpgme_dep = dependency('gpgme', version: '>= 1.0')
sdbus_dep = dependency('libsystemd', 'libelogind', 'basu')

npass_inc = include_directories('include')

subdir('src/libnpass')
subdir('src/npassd')
subdir('src/npass')