forked from z3ntu/RazerGenie
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmeson.build
22 lines (17 loc) · 831 Bytes
/
meson.build
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
project('razergenie', 'cpp',
version : '0.8.1',
meson_version : '>=0.44.0',
default_options : ['cpp_std=c++11'])
if get_option('include_matrix_discovery')
add_global_arguments('-DINCLUDE_MATRIX_DISCOVERY', language : 'cpp')
message('razergenie: Matrix discovery feature included.')
else
message('razergenie: Matrix discovery feature not included.')
endif
qt5 = import('qt5')
qt5_dep = dependency('qt5', modules: ['Core', 'DBus', 'Gui', 'Network', 'Widgets'])
razer_test_dep = dependency('razer_test', fallback : ['razer_test', 'razer_test_dep'])
libopenrazer_dep = dependency('libopenrazer', fallback : ['libopenrazer', 'libopenrazer_dep'])
install_data('logo/xyz.z3ntu.razergenie.svg', install_dir : join_paths(get_option('datadir'), 'icons/hicolor/scalable/apps'))
subdir('data')
subdir('src')