|
|
|
#-------------------------------------------------
|
|
|
|
#
|
|
|
|
# Project created by QtCreator 2015-10-28T15:25:33
|
|
|
|
#
|
|
|
|
#-------------------------------------------------
|
|
|
|
|
|
|
|
QT += widgets sql
|
|
|
|
|
|
|
|
TARGET = core
|
|
|
|
TEMPLATE = lib
|
|
|
|
|
|
|
|
DEFINES += CORE_LIBRARY
|
|
|
|
|
|
|
|
SOURCES += \
|
|
|
|
data/user.cpp \
|
|
|
|
context.cpp \
|
|
|
|
imetadataplugin.cpp \
|
|
|
|
transaction.cpp \
|
|
|
|
emptystringvalidator.cpp \
|
|
|
|
data/role.cpp \
|
|
|
|
data/permission.cpp \
|
|
|
|
coreplugin.cpp
|
|
|
|
|
|
|
|
HEADERS += core.h\
|
|
|
|
core_global.h \
|
|
|
|
iplugin.h \
|
|
|
|
service.h \
|
|
|
|
data/user.h \
|
|
|
|
context.h \
|
|
|
|
imetadataplugin.h \
|
|
|
|
autotablemodel.h \
|
|
|
|
autoform.h \
|
|
|
|
transaction.h \
|
|
|
|
ivalidator.h \
|
|
|
|
emptystringvalidator.h \
|
|
|
|
data/role.h \
|
|
|
|
data/permission.h \
|
|
|
|
data/core-data.h \
|
|
|
|
coreplugin.h
|
|
|
|
|
|
|
|
unix {
|
|
|
|
target.path = /usr/lib
|
|
|
|
INSTALLS += target
|
|
|
|
QMAKE_CXXFLAGS += -std=c++11
|
|
|
|
QMAKE_CXXFLAGS += -Wno-unknown-pragmas
|
|
|
|
}
|
|
|
|
|
|
|
|
ODB_FILES = core/data/core-data.h
|
|
|
|
|
|
|
|
H_DIR = $$PWD/data/*.h
|
|
|
|
include(../odb.pri)
|
|
|
|
|
|
|
|
RESOURCES += \
|
|
|
|
rc.qrc
|
|
|
|
|
|
|
|
DISTFILES += \
|
|
|
|
metaData.json
|