-
-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathmeson.build
44 lines (40 loc) · 853 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
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
project('frida-qml', 'cpp',
version: run_command(find_program('python3'), files('tools' / 'detect-version.py'),
capture: true,
check: true).stdout().strip(),
meson_version: '>=1.1.0',
default_options: [
'cpp_std=c++17',
],
)
cpp = meson.get_compiler('cpp')
qt_dep = dependency('qt6',
modules: [
'Core',
'Gui',
'Network',
'OpenGL',
'Qml',
'QmlModels',
'Quick',
],
)
frida_core_dep = dependency('frida-core-1.0', default_options: [
'frida_version=' + meson.project_version(),
'compiler_backend=disabled',
])
add_project_arguments(
'-DQT_PLUGIN',
'-DQT_NO_KEYWORDS',
'-DQT_NO_DEBUG',
'-DQT_CORE_LIB',
'-DQT_GUI_LIB',
'-DQT_NETWORK_LIB',
'-DQT_OPENGL_LIB',
'-DQT_QML_LIB',
'-DQT_QMLINTEGRATION_LIB',
'-DQT_QMLMODELS_LIB',
'-DQT_QUICK_LIB',
language: 'cpp',
)
subdir('src')