forked from wwmm/easyeffects
-
Notifications
You must be signed in to change notification settings - Fork 0
/
meson.build
39 lines (31 loc) · 1.05 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
34
35
36
37
38
39
project(
'easyeffects',
'c',
'cpp',
default_options : ['cpp_std=c++20','buildtype=debugoptimized'],
version: '6.1.5',
meson_version: '>= 0.57.0'
)
add_global_arguments('-DG_LOG_DOMAIN="easyeffects"', language : 'c')
add_global_arguments('-DG_LOG_DOMAIN="easyeffects"', language : 'cpp')
add_global_arguments('-DGETTEXT_PACKAGE="@0@"'.format(meson.project_name()),
language:'c')
gnome_mod = import('gnome')
i18n_mod = import('i18n')
prefix = get_option('prefix')
bindir = join_paths(prefix, get_option('bindir'))
datadir = join_paths(prefix, get_option('datadir'))
localedir = join_paths(prefix, get_option('localedir'))
include_dir = include_directories('include')
config_h_dir = include_directories('.')
# Configuration
conf = configuration_data()
conf.set_quoted('GETTEXT_PACKAGE', meson.project_name())
conf.set_quoted('LOCALE_DIR', localedir)
conf.set_quoted('VERSION', meson.project_version())
configure_file(output: 'config.h', configuration: conf)
subdir('data')
subdir('po')
subdir('help')
subdir('src')
meson.add_install_script('meson_post_install.py')