summaryrefslogtreecommitdiff
path: root/src/positioning
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2016-10-26 15:24:02 +0200
committerLars Knoll <lars.knoll@qt.io>2016-10-28 20:31:27 +0000
commitb0246e6695e9bb69f87994363635174a7841b58c (patch)
treeda0abe6fe504c52bdf6e2e2a894f827f55786a2c /src/positioning
parent8aabdb0975c3532324d299dfa62aa333a56d2d3b (diff)
downloadqtlocation-b0246e6695e9bb69f87994363635174a7841b58c.tar.gz
Convert qtlocation to the new configure system
And clean up the code detecting gypsy and the WinRT positioning API. Change-Id: Ic561d565d6fc733703ef6c0dc164e737e0b3d4fd Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'src/positioning')
-rw-r--r--src/positioning/configure.json48
1 files changed, 48 insertions, 0 deletions
diff --git a/src/positioning/configure.json b/src/positioning/configure.json
new file mode 100644
index 00000000..22b77be6
--- /dev/null
+++ b/src/positioning/configure.json
@@ -0,0 +1,48 @@
+{
+ "module": "positioning",
+ "testDir": "../../config.tests",
+
+ "libraries": {
+ "gypsy": {
+ "label": "Gypsy",
+ "test": "gypsy",
+ "sources": [
+ { "type": "pkgConfig", "args": "gypsy gconf-2.0" }
+ ]
+ }
+ },
+
+ "tests": {
+ "winrt_geolocation": {
+ "label": "WinRT Geolocation API",
+ "type": "compile",
+ "test": "winrt"
+ }
+ },
+
+ "features": {
+ "gypsy": {
+ "label": "Gypsy GPS Daemon",
+ "condition": "libs.gypsy",
+ "output": [ "privateFeature" ]
+ },
+ "winrt_geolocation": {
+ "label": "WinRT Geolocation API",
+ "condition": "tests.winrt_geolocation",
+ "output": [ "privateFeature" ]
+ }
+ },
+
+ "report": [
+ ],
+
+ "summary": [
+ {
+ "section": "Qt Location",
+ "entries": [
+ "gypsy",
+ "winrt_geolocation"
+ ]
+ }
+ ]
+}