Link to EetCpp is now configurable.

This commit is contained in:
2017-03-17 12:20:47 +01:00
parent b9fe3aab37
commit 35190b82a8
2 changed files with 26 additions and 2 deletions
+16 -2
View File
@@ -9,7 +9,9 @@ QT += widgets sql
TARGET = shop
TEMPLATE = lib
DEFINES += SHOP_LIBRARY\
#CONFIG += eet
DEFINES += SHOP_LIBRARY
SOURCES += shop.cpp \
data/voucher.cpp \
@@ -90,7 +92,19 @@ DEPENDPATH += $$PWD/../addressbook
TRANSLATIONS = translations/shop_cs_CZ.ts
unix|win32: LIBS += -L$$PWD/../../build-EetCpp-Desktop-Debug/libEet -lEetCpp
win32 {
LIBS += -lwinspool
}
eet {
CONFIG(debug, debug|release) {
LIBS += -L$$PWD/../../EetCpp/bin/debug -lEetCpp
} else {
LIBS += -L$$PWD/../../EetCpp/bin/release -lEetCpp
}
DEFINES += EET
}
INCLUDEPATH += $$PWD/../../EetCpp/libEet
DEPENDPATH += $$PWD/../../EetCpp/libEet