2015-09-04 11:48:20 -04:00
|
|
|
# Gxs is always enabled now.
|
|
|
|
DEFINES *= RS_ENABLE_GXS
|
|
|
|
|
2015-08-31 11:55:30 -04:00
|
|
|
unix {
|
|
|
|
isEmpty(PREFIX) { PREFIX = "/usr" }
|
2015-08-31 12:01:55 -04:00
|
|
|
isEmpty(BIN_DIR) { BIN_DIR = "$${PREFIX}/bin" }
|
2015-08-31 11:55:30 -04:00
|
|
|
isEmpty(INC_DIR) { INC_DIR = "$${PREFIX}/include/retroshare06" }
|
|
|
|
isEmpty(LIB_DIR) { LIB_DIR = "$${PREFIX}/lib" }
|
|
|
|
isEmpty(DATA_DIR) { DATA_DIR = "$${PREFIX}/share/RetroShare06" }
|
2015-09-06 08:19:21 -04:00
|
|
|
isEmpty(PLUGIN_DIR) { PLUGIN_DIR = "$${LIB_DIR}/retroshare/extensions6" }
|
2015-08-31 11:55:30 -04:00
|
|
|
}
|
2015-09-04 11:43:52 -04:00
|
|
|
|
2015-09-23 12:25:03 -04:00
|
|
|
win32 {
|
|
|
|
message(***retroshare.pri:Win32)
|
|
|
|
exists($$PWD/../libs) {
|
2015-09-24 09:51:14 -04:00
|
|
|
message(Get pre-compiled libraries.)
|
2015-09-23 12:25:03 -04:00
|
|
|
isEmpty(PREFIX) { PREFIX = "$$PWD/../libs" }
|
|
|
|
isEmpty(BIN_DIR) { BIN_DIR = "$${PREFIX}/bin" }
|
|
|
|
isEmpty(INC_DIR) { INC_DIR = "$${PREFIX}/include" }
|
|
|
|
isEmpty(LIB_DIR) { LIB_DIR = "$${PREFIX}/lib" }
|
|
|
|
}
|
2015-09-24 09:51:14 -04:00
|
|
|
exists(C:/msys32/mingw32/include) {
|
|
|
|
message(msys2 32b is installed.)
|
|
|
|
PREFIX_MSYS2 = "C:/msys32/mingw32"
|
|
|
|
BIN_DIR += "$${PREFIX_MSYS2}/bin"
|
|
|
|
INC_DIR += "$${PREFIX_MSYS2}/include"
|
|
|
|
LIB_DIR += "$${PREFIX_MSYS2}/lib"
|
|
|
|
}
|
2015-09-23 12:25:03 -04:00
|
|
|
exists(C:/msys64/mingw32/include) {
|
2015-09-24 09:51:14 -04:00
|
|
|
message(msys2 64b is installed.)
|
2015-09-23 12:25:03 -04:00
|
|
|
PREFIX_MSYS2 = "C:/msys64/mingw32"
|
|
|
|
BIN_DIR += "$${PREFIX_MSYS2}/bin"
|
|
|
|
INC_DIR += "$${PREFIX_MSYS2}/include"
|
|
|
|
LIB_DIR += "$${PREFIX_MSYS2}/lib"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-09-04 11:43:52 -04:00
|
|
|
unfinished {
|
|
|
|
CONFIG += gxscircles
|
|
|
|
CONFIG += gxsthewire
|
|
|
|
CONFIG += gxsphotoshare
|
|
|
|
CONFIG += wikipoos
|
|
|
|
}
|
2015-09-04 11:52:25 -04:00
|
|
|
|
|
|
|
wikipoos:DEFINES *= RS_USE_WIKI
|