Merge pull request #39 from droidsyer/patch-3

Update src.pro
This commit is contained in:
Matt Broadstone 2016-03-04 10:23:27 -05:00
commit e9af40515b
2 changed files with 6 additions and 0 deletions

View File

@ -7,6 +7,9 @@ isEmpty(QAMQP_LIBRARY_TYPE) {
QT += network QT += network
QAMQP_INCLUDEPATH = $${PWD}/src QAMQP_INCLUDEPATH = $${PWD}/src
QAMQP_LIBS = -lqamqp QAMQP_LIBS = -lqamqp
CONFIG(debug, debug|release){
QAMQP_LIBS = -lqamqpd
}
contains(QAMQP_LIBRARY_TYPE, staticlib) { contains(QAMQP_LIBRARY_TYPE, staticlib) {
DEFINES += QAMQP_STATIC DEFINES += QAMQP_STATIC
} else { } else {

View File

@ -3,6 +3,9 @@ include(../qamqp.pri)
INCLUDEPATH += . INCLUDEPATH += .
TEMPLATE = lib TEMPLATE = lib
TARGET = qamqp TARGET = qamqp
build_pass:CONFIG(debug, debug|release) {
TARGET = $$join(TARGET,,,d)
}
QT += core network QT += core network
QT -= gui QT -= gui
DEFINES += QAMQP_BUILD DEFINES += QAMQP_BUILD