summaryrefslogtreecommitdiff
path: root/qicclient.pro
blob: 40b180ae104783dd70ebfcec4e3282ec7414a302 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
QT -= gui
TEMPLATE = lib
CONFIG += staticlib

HEADERS += \
	qicclient/client.hxx
SOURCES += \
	client.cxx
INCLUDEPATH += $$PWD/libicclient
LIBS += \
	$$PWD/libicclient/libicclient.a \
	-lcurl 

contains(ANDROID_TARGET_ARCH,arm64-v8a) {
	QMAKE_CFLAGS += -I/usr/local/aarch64-linux-android/sysroot/usr/include
	LIBS += -L/usr/local/aarch64-linux-android/sysroot/usr/lib
}

contains(ANDROID_TARGET_ARCH,armeabi-v7a) {
	QMAKE_CFLAGS += -I/usr/local/arm-linux-androideabi/sysroot/usr/include
	LIBS += -L/usr/local/arm-linux-androideabi/sysroot/usr/lib
}

debug: DEFINES += DEBUG