mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-23 14:39:34 -05:00
Make .pro files compiler agnostic on Android
This commit is contained in:
parent
da2fc01952
commit
ebfe50f814
@ -917,7 +917,7 @@ test_bitdht {
|
||||
|
||||
################################# Android #####################################
|
||||
|
||||
android-g++ {
|
||||
android-* {
|
||||
## ifaddrs is missing on Android to add them don't use the one from
|
||||
## https://github.com/morristech/android-ifaddrs
|
||||
## because they crash, use QNetworkInterface from Qt instead
|
||||
|
@ -122,7 +122,7 @@ SOURCES += openpgpsdk/opsstring.c
|
||||
|
||||
################################# Android #####################################
|
||||
|
||||
android-g++ {
|
||||
android-* {
|
||||
|
||||
## Add this here and not in retroshare.pri because static library are very
|
||||
## sensible to order in command line
|
||||
|
@ -12,7 +12,7 @@ RESOURCES += qml.qrc
|
||||
|
||||
TEMPLATE = app
|
||||
|
||||
android-g++ {
|
||||
android-* {
|
||||
TEMPLATE = lib
|
||||
QT += androidextras
|
||||
}
|
||||
|
@ -6,10 +6,10 @@ QT += core network
|
||||
QT -= gui
|
||||
|
||||
CONFIG += c++11
|
||||
android-g++:CONFIG += dll
|
||||
android-*:CONFIG += dll
|
||||
|
||||
android-g++:TEMPLATE = lib
|
||||
!android-g++:TEMPLATE = app
|
||||
android-*:TEMPLATE = lib
|
||||
!android-*:TEMPLATE = app
|
||||
|
||||
DEPENDPATH *= ../../libresapi/src
|
||||
INCLUDEPATH *= ../../libresapi/src
|
||||
|
@ -17,7 +17,7 @@ RESOURCES += qml.qrc
|
||||
|
||||
# Platform interaction specific code
|
||||
|
||||
android-g++ {
|
||||
android-* {
|
||||
QT += androidextras
|
||||
HEADERS += NativeCalls.h androidplatforminteracions.h
|
||||
SOURCES += NativeCalls.cpp androidplatforminteracions.cpp
|
||||
|
@ -111,7 +111,7 @@ linux-* {
|
||||
}
|
||||
}
|
||||
|
||||
android-g++ {
|
||||
android-* {
|
||||
isEmpty(NATIVE_LIBS_TOOLCHAIN_PATH) {
|
||||
NATIVE_LIBS_TOOLCHAIN_PATH = $$(NATIVE_LIBS_TOOLCHAIN_PATH)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user