mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
79d761ae2e
And add MSys2 directories.
39 lines
1.1 KiB
Plaintext
39 lines
1.1 KiB
Plaintext
# Gxs is always enabled now.
|
|
DEFINES *= RS_ENABLE_GXS
|
|
|
|
unix {
|
|
isEmpty(PREFIX) { PREFIX = "/usr" }
|
|
isEmpty(BIN_DIR) { BIN_DIR = "$${PREFIX}/bin" }
|
|
isEmpty(INC_DIR) { INC_DIR = "$${PREFIX}/include/retroshare06" }
|
|
isEmpty(LIB_DIR) { LIB_DIR = "$${PREFIX}/lib" }
|
|
isEmpty(DATA_DIR) { DATA_DIR = "$${PREFIX}/share/RetroShare06" }
|
|
isEmpty(PLUGIN_DIR) { PLUGIN_DIR = "$${LIB_DIR}/retroshare/extensions6" }
|
|
}
|
|
|
|
win32 {
|
|
message(***retroshare.pri:Win32)
|
|
exists($$PWD/../libs) {
|
|
message(Get pre-compiled libraries.)
|
|
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" }
|
|
}
|
|
exists(C:/msys64/mingw32/include) {
|
|
message(msys2 is installed.)
|
|
PREFIX_MSYS2 = "C:/msys64/mingw32"
|
|
BIN_DIR += "$${PREFIX_MSYS2}/bin"
|
|
INC_DIR += "$${PREFIX_MSYS2}/include"
|
|
LIB_DIR += "$${PREFIX_MSYS2}/lib"
|
|
}
|
|
}
|
|
|
|
unfinished {
|
|
CONFIG += gxscircles
|
|
CONFIG += gxsthewire
|
|
CONFIG += gxsphotoshare
|
|
CONFIG += wikipoos
|
|
}
|
|
|
|
wikipoos:DEFINES *= RS_USE_WIKI
|