From 7fd8b36ce15d7617229a86a05e4e431631e684d5 Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Thu, 30 Nov 2023 13:06:40 +0200 Subject: tbtnavi: Migrate to meson This patch removes agl-shell-desktop support and migrates the entire tree to meson build system. Bug-AGL: SPEC-5003 Change-Id: Ia7728003e8069776c29641d91d1440cc65f297c5 Signed-off-by: Marius Vlad --- app/meson.build | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 app/meson.build (limited to 'app/meson.build') 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) -- cgit 1.2.3-korg