summaryrefslogtreecommitdiffstats
path: root/map
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2022-09-21 14:36:08 +0000
committerGerrit Code Review <gerrit@automotivelinux.org>2022-09-21 14:36:08 +0000
commit187ab41bb5082d07b6a81fb9dba2564f39e9d770 (patch)
treeacd46fb235e92c594bb72d43034775a68c4dfb23 /map
parent7573b0647a78baa3346b6a1a964ece01ed49a86c (diff)
parent06810868c74ddea6e336fd8f44692a975c628eba (diff)
Merge "Add meson.build files" into needlefish
Diffstat (limited to 'map')
-rw-r--r--map/meson.build22
1 files changed, 22 insertions, 0 deletions
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')