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
|
cpp = meson.get_compiler('cpp')
qt5_dep = dependency('qt5', modules: ['Qml', 'Quick', 'Gui', 'Location'])
dep_qtappfw = [
dependency('qtappfw-navigation'),
dependency('qtappfw-vehicle-signals'),
]
tbtnavi_dep = [
qt5_dep,
dep_qtappfw,
]
tbtnavi_headers = [
'qcheapruler.hpp',
'navigation_client.h',
'file_operation.h'
]
moc_files = qt5.compile_moc(headers: tbtnavi_headers,
dependencies: qt5_dep)
tbtnavi_resources = [
'images/images.qrc',
'qml/qml.qrc'
]
resource_files = qt5.compile_resources(sources: tbtnavi_resources)
tbtnavi_src = [
'main.cpp',
'navigation_client.cpp',
'qcheapruler.cpp',
'file_operation.cpp'
]
executable('tbtnavi', tbtnavi_src, resource_files, moc_files,
include_directories: include_directories('../include'),
dependencies : tbtnavi_dep,
install: true)
|