0
0
mirror of https://github.com/fralx/LimeReport.git synced 2024-12-23 16:22:58 +03:00
LimeReport/limereport.pro

76 lines
2.1 KiB
Prolog
Raw Normal View History

DEFINES += WITH_ZINT
contains (DEFINES,WITH_ZINT){
CONFIG +=zint
include(3rdparty/3rdparty.pro)
}
2016-02-17 10:11:00 +03:00
include(report-lib.pri)
2016-02-17 10:11:00 +03:00
TEMPLATE = lib
QT += core xml sql script
TARGET = limereport
DEFINES += LIMEREPORT_EXPORTS
CONFIG(release, debug|release){
message(Release)
BUILD_TYPE = release
}else{
message(Debug)
BUILD_TYPE = debug
}
CONFIG += create_prl
CONFIG += link_prl
2016-02-17 10:11:00 +03:00
EXTRA_FILES += \
$$PWD/src/lrglobal.cpp \
$$PWD/src/lrglobal.h \
$$PWD/src/lrdatasourcemanagerintf.h \
$$PWD/src/lrreportengine.h \
$$PWD/src/lrscriptenginemanagerintf.h \
$$PWD/src/lrcallbackdatasourceintf.h
DEST_DIR = $$PWD/include/
unix {
for(FILE,EXTRA_FILES){
QMAKE_POST_LINK += $$quote($$QMAKE_COPY $${FILE} $${DEST_DIR}$$escape_expand(\n\t))
}
MOC_DIR = $${OUT_PWD}/unix/$${BUILD_TYPE}/moc
UI_DIR = $${OUT_PWD}/unix/$${BUILD_TYPE}/ui
UI_HEADERS_DIR = $${OUT_PWD}/unix/$${BUILD_TYPE}/ui
UI_SOURCES_DIR = $${OUT_PWD}/unix/$${BUILD_TYPE}/ui
OBJECTS_DIR = $${OUT_PWD}/unix/$${BUILD_TYPE}/obj
RCC_DIR = $${OUT_PWD}/unix/$${BUILD_TYPE}/rcc
DESTDIR = $$PWD/lib/unix/$${BUILD_TYPE}
for(FILE,EXTRA_FILES){
QMAKE_POST_LINK += $$QMAKE_COPY $$quote($$FILE) $$quote($$DESTDIR/include) $$escape_expand(\\n\\t)
}
2016-02-17 10:11:00 +03:00
}
win32 {
EXTRA_FILES ~= s,/,\\,g
DEST_DIR ~= s,/,\\,g
for(FILE,EXTRA_FILES){
QMAKE_POST_LINK += $$QMAKE_COPY $$quote($$FILE) $$quote($$DEST_DIR) $$escape_expand(\\n\\t)
2016-02-17 10:11:00 +03:00
}
MOC_DIR = $${OUT_PWD}/win32/$${BUILD_TYPE}/moc
UI_DIR = $${OUT_PWD}/win32/$${BUILD_TYPE}/ui
UI_HEADERS_DIR = $${OUT_PWD}/win32/$${BUILD_TYPE}/ui
UI_SOURCES_DIR = $${OUT_PWD}/win32/$${BUILD_TYPE}/ui
OBJECTS_DIR = $${OUT_PWD}/win32/$${BUILD_TYPE}/obj
RCC_DIR = $${OUT_PWD}/win32/$${BUILD_TYPE}/rcc
DESTDIR = $$PWD/lib/win32/$${BUILD_TYPE}
2016-02-17 10:11:00 +03:00
}
2016-02-17 10:11:00 +03:00
DEPENDPATH += report report/bands report/base report/databrowser report/items report/objectinspector
INCLUDEPATH += report report/bands report/base report/databrowser report/items report/objectinspector
contains(DEFINES,WITH_ZINT){
2016-02-17 10:11:00 +03:00
LIBS += -L$${DEST_DIR} -lQtZint
}
2016-02-17 10:28:27 +03:00
INSTALLS += target