mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Merge pull request #960 from PhenomRetroShare/Add_ConfigFlagMacOSVersion
Add qmake CONFIG flag for MacOS version.
This commit is contained in:
commit
7820c1e75f
@ -81,6 +81,13 @@ CONFIG *= rs_gxs_trans
|
||||
CONFIG *= no_rs_async_chat
|
||||
rs_async_chat:CONFIG -= no_rs_async_chat
|
||||
|
||||
# To select your MacOsX version append the following assignation to qmake
|
||||
# command line "CONFIG+=rs_macos10.11" where 10.11(default for Travis_CI) depends your version
|
||||
CONFIG *= rs_macos10.11
|
||||
rs_macos10.8:CONFIG -= rs_macos10.11
|
||||
rs_macos10.9:CONFIG -= rs_macos10.11
|
||||
rs_macos10.10:CONFIG -= rs_macos10.11
|
||||
rs_macos10.12:CONFIG -= rs_macos10.11
|
||||
|
||||
|
||||
unix {
|
||||
@ -156,6 +163,36 @@ win32 {
|
||||
}
|
||||
}
|
||||
|
||||
rs_macos10.8 {
|
||||
message(***retroshare.pri: Set Target and SDK to MacOS 10.8 )
|
||||
QMAKE_MACOSX_DEPLOYMENT_TARGET=10.8
|
||||
QMAKE_MAC_SDK = macosx10.8
|
||||
}
|
||||
|
||||
rs_macos10.9 {
|
||||
message(***retroshare.pri: Set Target and SDK to MacOS 10.9 )
|
||||
QMAKE_MACOSX_DEPLOYMENT_TARGET=10.9
|
||||
QMAKE_MAC_SDK = macosx10.9
|
||||
}
|
||||
|
||||
rs_macos10.10 {
|
||||
message(***retroshare.pri: Set Target and SDK to MacOS 10.10 )
|
||||
QMAKE_MACOSX_DEPLOYMENT_TARGET=10.10
|
||||
QMAKE_MAC_SDK = macosx10.10
|
||||
}
|
||||
|
||||
rs_macos10.11 {
|
||||
message(***retroshare.pri: Set Target and SDK to MacOS 10.11 )
|
||||
QMAKE_MACOSX_DEPLOYMENT_TARGET=10.11
|
||||
QMAKE_MAC_SDK = macosx10.11
|
||||
}
|
||||
|
||||
rs_macos10.12 {
|
||||
message(***retroshare.pri: Set Target and SDK to MacOS 10.12 )
|
||||
QMAKE_MACOSX_DEPLOYMENT_TARGET=10.12
|
||||
QMAKE_MAC_SDK = macosx10.12
|
||||
}
|
||||
|
||||
macx {
|
||||
message(***retroshare.pri:MacOSX)
|
||||
BIN_DIR += "/usr/bin"
|
||||
@ -164,15 +201,7 @@ macx {
|
||||
INC_DIR += "/opt/local/include"
|
||||
LIB_DIR += "/usr/local/lib"
|
||||
LIB_DIR += "/opt/local/lib"
|
||||
!QMAKE_MACOSX_DEPLOYMENT_TARGET {
|
||||
message(***retroshare.pri: No Target. Set it to MacOS 10.11 )
|
||||
QMAKE_MACOSX_DEPLOYMENT_TARGET=10.11
|
||||
}
|
||||
!QMAKE_MAC_SDK {
|
||||
message(***retroshare.pri: No SDK. Set it to MacOS 10.11 )
|
||||
QMAKE_MAC_SDK = macosx10.11
|
||||
}
|
||||
CONFIG += c++11
|
||||
CONFIG += c++11
|
||||
}
|
||||
|
||||
unfinished {
|
||||
|
Loading…
Reference in New Issue
Block a user