diff options
Diffstat (limited to 'qicclient.pro')
-rw-r--r-- | qicclient.pro | 31 |
1 files changed, 29 insertions, 2 deletions
diff --git a/qicclient.pro b/qicclient.pro index 4d7150b..321d18d 100644 --- a/qicclient.pro +++ b/qicclient.pro @@ -13,7 +13,34 @@ SOURCES += \ catalog.cxx \ basket.cxx \ client.cxx -INCLUDEPATH += $$PWD/libicclient -LIBS += $$PWD/libicclient/libicclient.a +LIBS += -licclient + +contains(ANDROID_TARGET_ARCH,arm64-v8a) { + INCLUDEPATH += \ + /usr/local/aarch64-linux-android/include/c++/4.9.x \ + /usr/local/aarch64-linux-android/sysroot/usr/include + LIBS += -L/usr/local/aarch64-linux-android/sysroot/usr/lib +} + +contains(ANDROID_TARGET_ARCH,armeabi-v7a) { + INCLUDEPATH += \ + /usr/local/arm-linux-androideabi/include/c++/4.9.x \ + /usr/local/arm-linux-androideabi/sysroot/usr/include + LIBS += -L/usr/local/arm-linux-androideabi/sysroot/usr/lib +} + +contains(ANDROID_TARGET_ARCH,x86) { + INCLUDEPATH += \ + /usr/local/i686-linux-android/include/c++/4.9.x \ + /usr/local/i686-linux-android/sysroot/usr/include + LIBS += -L/usr/local/i686-linux-android/sysroot/usr/lib +} + +contains(ANDROID_TARGET_ARCH,x86_64) { + INCLUDEPATH += \ + /usr/local/x86_64-linux-android/include/c++/4.9.x \ + /usr/local/x86_64-linux-android/sysroot/usr/include + LIBS += -L/usr/local/x86_64-linux-android/sysroot/usr/lib +} debug: DEFINES += DEBUG |