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

@@ -26,7 +26,11 @@ unix{
INCLUDEPATH += $$PWD/../backend
DEFINES += _CRT_SECURE_NO_WARNINGS _CRT_NONSTDC_NO_WARNINGS ZINT_VERSION=\\\"$$VERSION\\\"
TARGET = QtZint
contains(CONFIG,release) {
TARGET = QtZint
} else {
TARGET = QtZintd
}
!contains(DEFINES, NO_PNG) {
SOURCES += $$PWD/../backend/png.c