diff options
Diffstat (limited to 'app/meson.build')
-rw-r--r-- | app/meson.build | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/app/meson.build b/app/meson.build new file mode 100644 index 0000000..864edb7 --- /dev/null +++ b/app/meson.build @@ -0,0 +1,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) |