0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-09-23 08:29:07 +03:00

If compiling in debug mode append a "d" to the Target and also link to that files

This commit is contained in:
Spiek
2017-07-18 18:09:28 +02:00
parent 4e1a680e09
commit 6b0195cb89
5 changed files with 52 additions and 9 deletions

View File

@@ -1,4 +1,9 @@
TARGET = limereport
contains(CONFIG,release) {
TARGET = limereport
} else {
TARGET = limereportd
}
TEMPLATE = lib
contains(CONFIG, static_build){
@@ -73,7 +78,12 @@ contains(CONFIG,zint){
message(zint)
INCLUDEPATH += $$ZINT_PATH/backend $$ZINT_PATH/backend_qt4
DEPENDPATH += $$ZINT_PATH/backend $$ZINT_PATH/backend_qt4
LIBS += -L$${DEST_LIBS} -lQtZint
LIBS += -L$${DEST_LIBS}
contains(CONFIG,release) {
LIBS += -lQtZint
} else {
LIBS += -lQtZintd
}
}
#######