mirror of
https://github.com/python-LimeReport/LimeReport.git
synced 2025-09-23 16:49:07 +03:00
Simplify .pro/.pri
This commit is contained in:
@@ -4,43 +4,43 @@ include(../common.pri)
|
||||
include(../limereport/limereport.pri)
|
||||
include(../limereport/designer.pri)
|
||||
|
||||
contains(CONFIG,release) {
|
||||
TARGET = designer_plugin
|
||||
CONFIG(release) {
|
||||
TARGET = designer_plugin
|
||||
} else {
|
||||
TARGET = designer_plugind
|
||||
TARGET = designer_plugind
|
||||
}
|
||||
|
||||
TEMPLATE = lib
|
||||
CONFIG += plugin
|
||||
|
||||
HEADERS += \
|
||||
lrdesignerplugin.h
|
||||
lrdesignerplugin.h
|
||||
SOURCES += \
|
||||
lrdesignerplugin.cpp
|
||||
lrdesignerplugin.cpp
|
||||
|
||||
INCLUDEPATH += $$PWD/../include
|
||||
DEPENDPATH += $$PWD/../include
|
||||
|
||||
macx{
|
||||
CONFIG += lib_bundle
|
||||
CONFIG += -dll
|
||||
CONFIG += lib_bundle
|
||||
CONFIG += -dll
|
||||
}
|
||||
|
||||
DESTDIR = $${DEST_LIBS}
|
||||
DESTDIR = $${DEST_LIBS}
|
||||
unix {
|
||||
target.path = $${DESTDIR}
|
||||
INSTALLS = target
|
||||
}
|
||||
|
||||
|
||||
contains(CONFIG,zint){
|
||||
CONFIG(zint) {
|
||||
message(zint)
|
||||
INCLUDEPATH += $$ZINT_PATH/backend $$ZINT_PATH/backend_qt
|
||||
DEPENDPATH += $$ZINT_PATH/backend $$ZINT_PATH/backend_qt
|
||||
LIBS += -L$${DEST_LIBS}
|
||||
CONFIG(debug, debug|release){
|
||||
LIBS += -lQtZintd
|
||||
} else {
|
||||
LIBS += -lQtZint
|
||||
}
|
||||
LIBS += -L$${DEST_LIBS}
|
||||
CONFIG(debug, debug|release) {
|
||||
LIBS += -lQtZintd
|
||||
} else {
|
||||
LIBS += -lQtZint
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user