mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-25 23:49:35 -05:00
Revert changes for Windows compile in libretroshare.pro after merging gxs_phase2 branch.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6407 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
9c69ad0500
commit
faac2987db
@ -197,51 +197,48 @@ win32-x-g++ {
|
|||||||
}
|
}
|
||||||
################################# Windows ##########################################
|
################################# Windows ##########################################
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
win32 {
|
win32 {
|
||||||
QMAKE_CC = g++
|
QMAKE_CC = g++
|
||||||
OBJECTS_DIR = temp/obj
|
OBJECTS_DIR = temp/obj
|
||||||
MOC_DIR = temp/moc
|
MOC_DIR = temp/moc
|
||||||
DEFINES *= WINDOWS_SYS WIN32 STATICLIB MINGW
|
DEFINES *= WINDOWS_SYS WIN32 STATICLIB MINGW
|
||||||
DEFINES *= MINIUPNPC_VERSION=13
|
DEFINES *= MINIUPNPC_VERSION=13
|
||||||
DESTDIR = lib
|
DESTDIR = lib
|
||||||
|
|
||||||
# Switch on extra warnings
|
# Switch on extra warnings
|
||||||
QMAKE_CFLAGS += -Wextra
|
QMAKE_CFLAGS += -Wextra
|
||||||
QMAKE_CXXFLAGS += -Wextra
|
QMAKE_CXXFLAGS += -Wextra
|
||||||
|
|
||||||
# Switch off optimization for release version
|
# Switch off optimization for release version
|
||||||
QMAKE_CXXFLAGS_RELEASE -= -O2
|
QMAKE_CXXFLAGS_RELEASE -= -O2
|
||||||
QMAKE_CXXFLAGS_RELEASE += -O0
|
QMAKE_CXXFLAGS_RELEASE += -O0
|
||||||
QMAKE_CFLAGS_RELEASE -= -O2
|
QMAKE_CFLAGS_RELEASE -= -O2
|
||||||
QMAKE_CFLAGS_RELEASE += -O0
|
QMAKE_CFLAGS_RELEASE += -O0
|
||||||
|
|
||||||
# Switch on optimization for debug version
|
# Switch on optimization for debug version
|
||||||
#QMAKE_CXXFLAGS_DEBUG += -O2
|
#QMAKE_CXXFLAGS_DEBUG += -O2
|
||||||
#QMAKE_CFLAGS_DEBUG += -O2
|
#QMAKE_CFLAGS_DEBUG += -O2
|
||||||
|
|
||||||
DEFINES += USE_CMD_ARGS
|
DEFINES += USE_CMD_ARGS
|
||||||
|
|
||||||
CONFIG += upnp_miniupnpc
|
CONFIG += upnp_miniupnpc
|
||||||
|
|
||||||
UPNPC_DIR = ../../../lib/miniupnpc-1.3
|
UPNPC_DIR = ../../../miniupnpc-1.3
|
||||||
PTHREADS_DIR = ../../../lib/pthreads-w32-2-8-0-release
|
|
||||||
ZLIB_DIR = ../../../lib/zlib-1.2.3
|
|
||||||
SSL_DIR = ../../../OpenSSL
|
|
||||||
OPENPGPSDK_DIR = ../../openpgpsdk/src
|
|
||||||
|
|
||||||
INCLUDEPATH += . $${SSL_DIR}/include $${UPNPC_DIR} $${PTHREADS_DIR} $${ZLIB_DIR} $${OPENPGPSDK_DIR}
|
PTHREADS_DIR = ../../../pthreads-w32-2-8-0-release
|
||||||
|
ZLIB_DIR = ../../../zlib-1.2.3
|
||||||
|
SSL_DIR = ../../../openssl-1.0.1c
|
||||||
|
OPENPGPSDK_DIR = ../../openpgpsdk/src
|
||||||
|
|
||||||
# SQLite include path is required to compile GXS.
|
INCLUDEPATH += . $${SSL_DIR}/include $${UPNPC_DIR} $${PTHREADS_DIR} $${ZLIB_DIR} $${OPENPGPSDK_DIR}
|
||||||
gxs {
|
|
||||||
SQLITE_DIR = ../../../../Libraries/sqlite/sqlite-autoconf-3070900
|
# SQLite include path is required to compile GXS.
|
||||||
INCLUDEPATH += . \
|
gxs {
|
||||||
$${SQLITE_DIR}
|
SQLITE_DIR = ../../../sqlite-autoconf-3070900
|
||||||
}
|
INCLUDEPATH += $${SQLITE_DIR}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
################################# MacOSX ##########################################
|
################################# MacOSX ##########################################
|
||||||
|
|
||||||
mac {
|
mac {
|
||||||
|
Loading…
Reference in New Issue
Block a user