blob: 90fa050d9a0e95b9ee2e9a41be163a5f6d41344d (
plain)
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
|
project('gsr-notify', ['cpp'], version : '1.0.0', default_options : ['warning_level=2'], subproject_dir : 'depends')
if get_option('buildtype') == 'debug'
add_project_arguments('-g3', language : ['cpp'])
elif get_option('buildtype') == 'release'
add_project_arguments('-DNDEBUG', language : ['cpp'])
endif
src = [
'src/main.cpp',
]
mglpp_proj = subproject('mglpp')
mglpp_dep = mglpp_proj.get_variable('mglpp_dep')
dep = [
mglpp_dep,
dependency('xfixes'),
]
executable(
meson.project_name(),
src,
install : true,
dependencies : dep,
)
|