Link to EetCpp is now configurable.
This commit is contained in:
+16
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user