Simplify .pro/.pri

This commit is contained in:
Rodrigo Torres
2021-08-18 14:14:37 -03:00
parent d56fb6150c
commit e96e1a9adc
13 changed files with 235 additions and 240 deletions

View File

@@ -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
}
}