Herunterladen als
root/EntityManager.pro @ a473cd61
81c23b56 | Christian Ehringfeld | QT += core
|
|
QT += sql
|
|||
QT -= gui
|
|||
6899f814 | Christian Ehringfeld | TARGET = CuteEntityManager
|
|
TEMPLATE = lib
|
|||
81c23b56 | Christian Ehringfeld | ||
6899f814 | Christian Ehringfeld | DEFINES += CUTE_ENTITY_MANAGER_LIBRARY
|
|
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 \
|
|
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 \
|
|
24c5480c | Christian Ehringfeld | src/schema/sqlitequerybuilder.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/sqlitebackupprocessor.h \
|
|
src/validators/validator.h \
|
|||
src/validators/param.h \
|
|||
src/validators/errormsg.h \
|
|||
src/validators/defaultvalidator.h \
|
|||
fc14f551 | Christian Ehringfeld | src/validators/validatorfactory.h \
|
|
src/validators/validatorrule.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/sqlitebackupprocessor.cpp \
|
|
src/validators/validator.cpp \
|
|||
src/validators/param.cpp \
|
|||
src/validators/errormsg.cpp \
|
|||
src/validators/defaultvalidator.cpp \
|
|||
fc14f551 | Christian Ehringfeld | src/validators/validatorfactory.cpp \
|
|
src/validators/validatorrule.cpp
|
|||
6899f814 | Christian Ehringfeld | ||
82442988 | Christian Ehringfeld | CONFIG += c++14
|
|
QMAKE_CXXFLAGS += -std=c++14
|
|||
bcd2b697 | Christian Ehringfeld | LIBS += -lsqlite3
|
|
6899f814 | Christian Ehringfeld | unix {
|
|
target.path = /usr/lib
|
|||
INSTALLS += target
|
|||
a91984bb | Christian Ehringfeld | QMAKE_CXXFLAGS += -Wall -Wextra -Wmaybe-uninitialized -Wsuggest-final-types -Wsuggest-final-methods -Wsuggest-override -Wunsafe-loop-optimizations -pedantic -Wfloat-equal -Wundef -Wpointer-arith -Wcast-align -Wunreachable-code -O
|
|
6899f814 | Christian Ehringfeld | }
|
|
82442988 | Christian Ehringfeld | ||
win32-g++ {
|
|||
CONFIG += c++11
|
|||
QMAKE_CXXFLAGS += -std=c++11 -Wall
|
|||
}
|
|||
f9cef58f | Christian Ehringfeld | #QMAKE_CXXFLAGS += -Winit-self
|
|
CONFIG(release, debug|release):DEFINES += QT_NO_DEBUG_OUTPUT
|