mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-13 01:20:22 +03:00
differentiation between windows release and debug build into i2pd_qt.pro
This commit is contained in:
parent
42d118d9a2
commit
5ec11c53e9
@ -4,7 +4,7 @@ greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
|||||||
|
|
||||||
TARGET = i2pd_qt
|
TARGET = i2pd_qt
|
||||||
TEMPLATE = app
|
TEMPLATE = app
|
||||||
QMAKE_CXXFLAGS *= -std=c++11
|
QMAKE_CXXFLAGS *= -std=c++11 -ggdb
|
||||||
DEFINES += USE_UPNP
|
DEFINES += USE_UPNP
|
||||||
|
|
||||||
# change to your own path, where you will store all needed libraries with 'git clone' commands below.
|
# change to your own path, where you will store all needed libraries with 'git clone' commands below.
|
||||||
@ -280,8 +280,11 @@ windows {
|
|||||||
DEFINES += BOOST_USE_WINDOWS_H WINDOWS _WINDOWS WIN32_LEAN_AND_MEAN MINIUPNP_STATICLIB
|
DEFINES += BOOST_USE_WINDOWS_H WINDOWS _WINDOWS WIN32_LEAN_AND_MEAN MINIUPNP_STATICLIB
|
||||||
DEFINES -= UNICODE _UNICODE
|
DEFINES -= UNICODE _UNICODE
|
||||||
BOOST_SUFFIX = -mt
|
BOOST_SUFFIX = -mt
|
||||||
QMAKE_CXXFLAGS = -Os
|
QMAKE_CXXFLAGS_RELEASE = -Os
|
||||||
QMAKE_LFLAGS = -s -Wl,-Bstatic -static-libgcc -static-libstdc++ -mwindows
|
QMAKE_LFLAGS = -Wl,-Bstatic -static-libgcc -static-libstdc++ -mwindows
|
||||||
|
|
||||||
|
#strip
|
||||||
|
QMAKE_LFLAGS_RELEASE += -s
|
||||||
|
|
||||||
LIBS = -lminiupnpc \
|
LIBS = -lminiupnpc \
|
||||||
-lboost_system$$BOOST_SUFFIX \
|
-lboost_system$$BOOST_SUFFIX \
|
||||||
|
Loading…
Reference in New Issue
Block a user