From 21ab77013bb37eebb584c21256481ab2abe64aa0 Mon Sep 17 00:00:00 2001 From: Maurice Kalinowski Date: Wed, 18 Oct 2017 09:31:08 +0200 Subject: iot-sensortag: Make any cloud backend optional Previously, either the MQTT or Azure backend was enabled. But there are users who prefer to have a pure local build. Hence UPDATE_TO_AZURE is an optional setting now. Change-Id: Ie1ff8b6eaa1c357f83a971bd2ded59d40f2c2eb0 Reviewed-by: Shrikant Dhumal --- tradeshow/iot-sensortag/SensorTagDemo.pro | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tradeshow/iot-sensortag') diff --git a/tradeshow/iot-sensortag/SensorTagDemo.pro b/tradeshow/iot-sensortag/SensorTagDemo.pro index 71fa871..10f86be 100644 --- a/tradeshow/iot-sensortag/SensorTagDemo.pro +++ b/tradeshow/iot-sensortag/SensorTagDemo.pro @@ -27,6 +27,11 @@ win32|linux|android:!qnx { # This enables both, host and client mode # CONFIG += UPDATE_TO_MQTT_BROKER +# For using Azure cloud connectivity enable +# this config. This enabled both, host and +# client mode +# CONFIG += UPDATE_TO_AZURE + win32:!contains(CONFIG, UPDATE_TO_MQTT_BROKER) { WASTORAGE_PATH = $$(WASTORAGE_LOCATION) isEmpty(WASTORAGE_PATH): message("Location for Azure Storage libs unknown. Please specify WASTORAGE_LOCATION") @@ -61,11 +66,6 @@ HEADERS += \ mockdataproviderpool.h BLUETOOTH_HOST { - win32 { - !isEmpty(WASTORAGE_PATH):!isEmpty(CPPRESTSDK_LOCATION): CONFIG += UPDATE_TO_AZURE - } else { - CONFIG += UPDATE_TO_AZURE - } DEFINES += RUNS_AS_HOST SOURCES += \ -- cgit v1.2.3