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-21 17:54:22 +02:00
parent 4e1a680e09
commit 6b0195cb89
5 changed files with 52 additions and 9 deletions
+5 -1
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