From 5bf2b9d30ccea0f5468b22abedbe1629691eab15 Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Mon, 19 Sep 2022 17:46:22 -0400 Subject: Add meson.build files Add meson configuration missed in previous commit. Bug-AGL: SPEC-4559 Signed-off-by: Scott Murray Change-Id: Idbcd961ab91cf48e7dc3b841aee3a79d0b615dcd --- map/meson.build | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 map/meson.build (limited to 'map/meson.build') diff --git a/map/meson.build b/map/meson.build new file mode 100644 index 0000000..1f563e6 --- /dev/null +++ b/map/meson.build @@ -0,0 +1,22 @@ +qt5_dep = dependency('qt5', modules: ['Qml']) + +moc_files = qt5.compile_moc(headers : 'map.h', + dependencies: qt5_dep) + +src = ['map.cpp', moc_files] +lib = shared_library('qtappfw-bt-map', + sources: src, + version: '1.0.0', + soversion: '0', + dependencies: [qt5_dep, qtappfw_bt_dep], + install: true) + +install_headers('map.h') + +pkg_mod = import('pkgconfig') +pkg_mod.generate(libraries : lib, + version : '1.0', + name : 'libqtappfw-bt-map', + filebase : 'qtappfw-bt-map', + requires: 'Qt5Qml', + description : 'Library wrapping AGL Bluetooth MAP profile API in Qt objects') -- cgit 1.2.3-korg