2016-02-17 10:11:00 +03:00
|
|
|
#CONFIG +=zint
|
2016-02-17 10:18:19 +03:00
|
|
|
QMAKE_CFLAGS += -std=c99
|
2016-02-17 10:11:00 +03:00
|
|
|
#ZINT_PATH = $$PWD/../zint-2.4.3
|
|
|
|
#ZINT_VERSION = 2.4.3
|
|
|
|
#include(qzint.pri)
|
|
|
|
include(report-lib.pri)
|
|
|
|
|
|
|
|
TEMPLATE = lib
|
|
|
|
QT += core xml sql script
|
|
|
|
TARGET = limereport
|
|
|
|
|
|
|
|
DEFINES += LIMEREPORT_EXPORTS
|
|
|
|
|
|
|
|
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))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
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)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
DESTDIR = $$PWD/lib
|
|
|
|
|
|
|
|
DEPENDPATH += report report/bands report/base report/databrowser report/items report/objectinspector
|
|
|
|
INCLUDEPATH += report report/bands report/base report/databrowser report/items report/objectinspector
|
|
|
|
|
|
|
|
CONFIG(release, debug|release): DESTDIR = $$PWD/lib/release/
|
|
|
|
else:CONFIG(debug, debug|release): DESTDIR = $$PWD/lib/debug/
|
|
|
|
|