summaryrefslogtreecommitdiff
path: root/qrtclient.pro
blob: bc973b51212319a7029301717f1aa44117a697c1 (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
25
26
27
28
29
30
TEMPLATE = lib
CONFIG += staticlib

HEADERS += \
	qrtclient/user.hxx \
	qrtclient/ticket.hxx \
	qrtclient/client.hxx

SOURCES += \
	user.cxx \
	ticket.cxx \
	client.cxx

INCLUDEPATH += $$PWD/librtclient

LIBS += \
	$$PWD/librtclient/librtclient.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