-
Notifications
You must be signed in to change notification settings - Fork 1
/
meson.build
33 lines (26 loc) · 1.03 KB
/
meson.build
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
30
31
32
33
project('bombolla', 'c', 'vala',
version: '0.0.0',
meson_version: '>= 0.58',
default_options: ['buildtype=debug',])
asan_dep = declare_dependency(
compile_args: ['-fsanitize=address', '-fno-omit-frame-pointer', '-g', '-O0', '-fno-inline'],
link_args: ['-fsanitize=address'],
)
subdir('friendly-libs')
bombolla_dep = declare_dependency(
include_directories : [include_directories('.'),
include_directories('friendly-libs')],
dependencies: [dependency('gobject-2.0', version: '>=2.58'),
dependency('gio-2.0'),
bmixin_dep],
compile_args: ['-Wall', '-Werror', '-Wfatal-errors']
)
cc = meson.get_compiler('c')
gmodule_dep = dependency('gmodule-2.0')
subdir('bombolla')
subdir('examples')
run_command('sh', '-c', 'cp Firulais .git/hooks/pre-commit')
devenv = environment()
devenv.prepend('PATH', meson.current_build_dir() / 'bombolla' / 'tools' / 'shell')
devenv.prepend('LBA_PLUGINS_PATH', meson.current_build_dir() / 'bombolla')
meson.add_devenv(devenv)