You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
59 lines
1.3 KiB
Prolog
59 lines
1.3 KiB
Prolog
#-------------------------------------------------
|
|
#
|
|
# Project created by QtCreator 2016-04-06T20:45:20
|
|
#
|
|
#-------------------------------------------------
|
|
|
|
QT += widgets sql
|
|
|
|
TARGET = shop
|
|
TEMPLATE = lib
|
|
|
|
DEFINES += SHOP_LIBRARY\
|
|
_GLIBCXX_USE_CXX11_ABI=1
|
|
|
|
SOURCES += shop.cpp \
|
|
data/voucher.cpp
|
|
|
|
HEADERS += shop.h\
|
|
shop_global.h \
|
|
data/voucher.h
|
|
|
|
unix {
|
|
target.path = /usr/lib
|
|
INSTALLS += target
|
|
QMAKE_CXXFLAGS += -std=c++11
|
|
QMAKE_CXXFLAGS += -Wno-unknown-pragmas
|
|
}
|
|
|
|
win32 {
|
|
QMAKE_CXXFLAGS += -wd4995 -wd4068
|
|
}
|
|
|
|
win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../core/release/ -lcore
|
|
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../core/debug/ -lcore
|
|
else:unix: LIBS += -L$$OUT_PWD/../core/ -lcore
|
|
|
|
INCLUDEPATH += $$PWD/../core
|
|
DEPENDPATH += $$PWD/../core
|
|
|
|
DESTDIR = ../plugins
|
|
|
|
OTHER_FILES += shop.json
|
|
|
|
#ODB_FILES = shop/data/....h
|
|
H_DIR = $$PWD/data/*.h
|
|
include(../odb.pri)
|
|
|
|
win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../qdecimal/lib/ -lqdecimal -ldecnumber
|
|
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../qdecimal/lib/ -lqdecimal -ldecnumber
|
|
else:unix: LIBS += -L$$OUT_PWD/../qdecimal/lib/ -lqdecimal -ldecnumber
|
|
|
|
INCLUDEPATH += $$PWD/../qdecimal/src
|
|
INCLUDEPATH += $$PWD/../qdecimal/decnumber
|
|
DEPENDPATH += $$PWD/../qdecimal/src
|
|
|
|
RESOURCES += \
|
|
shoprc.qrc
|
|
|