Herunterladen als
root/EntityManager.pro @ 3eae124b
54538efb | Christian Ehringfeld | include (EntityManager.pri)
|
|
CONFIG += $$EM_LIBRARY_TYPE
|
|||
VERSION = $$EM_VERSION
|
|||
81c23b56 | Christian Ehringfeld | QT += core
|
|
QT += sql
|
|||
519b2fe3 | Christian Ehringfeld | #if you need Image Validation you must compile with += gui
|
|
#QT += gui
|
|||
81c23b56 | Christian Ehringfeld | QT -= gui
|
|
6899f814 | Christian Ehringfeld | TARGET = CuteEntityManager
|
|
TEMPLATE = lib
|
|||
81c23b56 | Christian Ehringfeld | ||
HEADERS += \
|
|||
6899f814 | Christian Ehringfeld | src/entity.h \
|
|
src/entitymanager.h \
|
|||
src/database.h \
|
|||
src/enums/databasetype.h \
|
|||
4d58ef6a | Christian Ehringfeld | src/schema.h \
|
|
54538efb | Christian Ehringfeld | src/schema/sqlitequerybuilder.h \
|
|
4d58ef6a | Christian Ehringfeld | src/schema/sqliteschema.h \
|
|
src/tableschema.h \
|
|||
b0b8dac3 | Christian Ehringfeld | src/schema/pgsqlschema.h \
|
|
14f9beed | Christian Ehringfeld | src/schema/mysqlschema.h \
|
|
b0bf458e | Christian Ehringfeld | src/databasemigration.h \
|
|
7e233492 | Christian Ehringfeld | src/querybuilder.h \
|
|
f4e3904b | Christian Ehringfeld | src/relation.h \
|
|
d84c91e7 | Christian Ehringfeld | src/entityinstancefactory.h \
|
|
e8d1537c | Christian Ehringfeld | src/cache.h \
|
|
100034b7 | Christian Ehringfeld | src/entityhelper.h \
|
|
5d93390e | Christian Ehringfeld | src/logger.h \
|
|
src/query.h \
|
|||
2ee5022f | Christian Ehringfeld | src/join.h \
|
|
src/queryinterpreter.h \
|
|||
3160499c | Christian Ehringfeld | src/expression.h \
|
|
bcd2b697 | Christian Ehringfeld | src/orderby.h \
|
|
e2ee17bf | Christian Ehringfeld | src/validators/validator.h \
|
|
src/validators/param.h \
|
|||
src/validators/errormsg.h \
|
|||
src/validators/defaultvalidator.h \
|
|||
fc14f551 | Christian Ehringfeld | src/validators/validatorfactory.h \
|
|
e111d9ab | Christian Ehringfeld | src/validators/validatorrule.h \
|
|
src/validators/requiredvalidator.h \
|
|||
ec6a9500 | Christian Ehringfeld | src/validators/numbervalidator.h \
|
|
src/validators/urlvalidator.h \
|
|||
src/validators/comparevalidator.h \
|
|||
src/validators/datevalidator.h \
|
|||
src/validators/emailvalidator.h \
|
|||
src/validators/existvalidator.h \
|
|||
src/validators/filevalidator.h \
|
|||
src/validators/imagevalidator.h \
|
|||
519b2fe3 | Christian Ehringfeld | src/validators/uniquevalidator.h \
|
|
e80feccc | Christian Ehringfeld | src/validators/patternvalidator.h \
|
|
2d59cb88 | Christian Ehringfeld | src/validators/lengthvalidator.h \
|
|
93285804 | Christian Ehringfeld | src/schema/mysqlquerybuilder.h \
|
|
src/entityinspector.h
|
|||
81c23b56 | Christian Ehringfeld | ||
6899f814 | Christian Ehringfeld | SOURCES += \
|
|
4d58ef6a | Christian Ehringfeld | src/entity.cpp \
|
|
6899f814 | Christian Ehringfeld | src/entitymanager.cpp \
|
|
src/database.cpp \
|
|||
4d58ef6a | Christian Ehringfeld | src/schema.cpp \
|
|
src/schema/sqliteschema.cpp \
|
|||
src/tableschema.cpp \
|
|||
b0b8dac3 | Christian Ehringfeld | src/schema/pgsqlschema.cpp \
|
|
14f9beed | Christian Ehringfeld | src/schema/mysqlschema.cpp \
|
|
b0bf458e | Christian Ehringfeld | src/databasemigration.cpp \
|
|
7e233492 | Christian Ehringfeld | src/querybuilder.cpp \
|
|
24c5480c | Christian Ehringfeld | src/schema/sqlitequerybuilder.cpp \
|
|
f4e3904b | Christian Ehringfeld | src/relation.cpp \
|
|
d84c91e7 | Christian Ehringfeld | src/entityinstancefactory.cpp \
|
|
e8d1537c | Christian Ehringfeld | src/cache.cpp \
|
|
100034b7 | Christian Ehringfeld | src/entityhelper.cpp \
|
|
5d93390e | Christian Ehringfeld | src/logger.cpp \
|
|
src/query.cpp \
|
|||
2ee5022f | Christian Ehringfeld | src/join.cpp \
|
|
src/queryinterpreter.cpp \
|
|||
3160499c | Christian Ehringfeld | src/expression.cpp \
|
|
bcd2b697 | Christian Ehringfeld | src/orderby.cpp \
|
|
e2ee17bf | Christian Ehringfeld | src/validators/validator.cpp \
|
|
src/validators/param.cpp \
|
|||
src/validators/errormsg.cpp \
|
|||
src/validators/defaultvalidator.cpp \
|
|||
fc14f551 | Christian Ehringfeld | src/validators/validatorfactory.cpp \
|
|
e111d9ab | Christian Ehringfeld | src/validators/validatorrule.cpp \
|
|
src/validators/requiredvalidator.cpp \
|
|||
ec6a9500 | Christian Ehringfeld | src/validators/numbervalidator.cpp \
|
|
src/validators/urlvalidator.cpp \
|
|||
src/validators/comparevalidator.cpp \
|
|||
src/validators/datevalidator.cpp \
|
|||
src/validators/emailvalidator.cpp \
|
|||
src/validators/existvalidator.cpp \
|
|||
src/validators/filevalidator.cpp \
|
|||
src/validators/imagevalidator.cpp \
|
|||
519b2fe3 | Christian Ehringfeld | src/validators/uniquevalidator.cpp \
|
|
e80feccc | Christian Ehringfeld | src/validators/patternvalidator.cpp \
|
|
2d59cb88 | Christian Ehringfeld | src/validators/lengthvalidator.cpp \
|
|
93285804 | Christian Ehringfeld | src/schema/mysqlquerybuilder.cpp \
|
|
src/entityinspector.cpp
|
|||
54538efb | Christian Ehringfeld | ||
!win32 { # looks bad.
|
|||
HEADERS += \
|
|||
src/sqlitebackupprocessor.h
|
|||
SOURCES += \
|
|||
src/sqlitebackupprocessor.cpp
|
|||
} else {
|
|||
DESTDIR = $$OUT_PWD
|
|||
}
|
|||
6899f814 | Christian Ehringfeld | ||
bcd2b697 | Christian Ehringfeld | LIBS += -lsqlite3
|
|
ce7a4eda | Christian Ehringfeld | CONFIG += c++14
|
|
9f79b334 | Christian Ehringfeld | QMAKE_CXXFLAGS += -Wall -Wextra -Wunsafe-loop-optimizations -pedantic -Wfloat-equal -Wundef -Wpointer-arith -Wcast-align -Wunreachable-code -O
|
|
54538efb | Christian Ehringfeld | headers.path = $$PREFIX/include/cuteEntityManager
|
|
headers.files = $$HEADERS
|
|||
target.path = $$PREFIX/$$LIBDIR
|
|||
INSTALLS += headers target
|
|||
4956cce5 | Christian Ehringfeld | ||
54538efb | Christian Ehringfeld | #unix {
|
|
#target.path = /usr/lib
|
|||
#INSTALLS += target
|
|||
9f79b334 | Christian Ehringfeld | #linux-g++5 {
|
|
#QMAKE_CXXFLAGS += -Wsuggest-final-types -Wsuggest-final-methods -Wsuggest-override -Wmaybe-uninitialized
|
|||
#}
|
|||
54538efb | Christian Ehringfeld | #}
|
|
82442988 | Christian Ehringfeld | ||
f9cef58f | Christian Ehringfeld | CONFIG(release, debug|release):DEFINES += QT_NO_DEBUG_OUTPUT
|
|
f12670e9 | Christian Ehringfeld | ||
DISTFILES += \
|
|||
README.md \
|
|||
LICENSE \
|
|||
54538efb | Christian Ehringfeld | AUTHORS \
|
|
f12670e9 | Christian Ehringfeld | Doxyfile
|