meson.build 698 Bytes
Newer Older
1
project('libsignon-glib', 'c',
Alberto Mardegan's avatar
Alberto Mardegan committed
2
    version: '2.1'
3 4
)

5 6
library_major = '2'

7 8 9 10 11 12 13 14 15 16 17 18
gnome = import('gnome')
pkg = import('pkgconfig')

gio_dep = dependency('gio-2.0', version: '>=2.36')
gio_unix_dep = dependency('gio-unix-2.0')
glib_dep = dependency('glib-2.0', version: '>=2.32')
gobject_dep = dependency('gobject-2.0', version: '>=2.35.1')

if get_option('tests')
    check_dep = dependency('check', version: '>=0.9.4')
endif

19
if get_option('debugging')
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
    add_project_arguments('-DENABLE_DEBUG=1', language : 'c')
endif

root_dir = include_directories ('.')

subdir('libsignon-glib')
subdir('docs')

if get_option('python')
    subdir('pygobject')
endif

if get_option('tests')
    subdir('tests')
endif