2017-12-13 18:04:10 +01:00
|
|
|
#-------------------------------------------------
|
|
|
|
|
#
|
|
|
|
|
# Project created by QtCreator 2017-12-13T17:36:43
|
|
|
|
|
#
|
|
|
|
|
#-------------------------------------------------
|
|
|
|
|
|
2018-11-04 11:26:20 +01:00
|
|
|
QT += widgets core
|
2017-12-13 18:04:10 +01:00
|
|
|
|
|
|
|
|
TARGET = pglablib
|
|
|
|
|
TEMPLATE = lib
|
|
|
|
|
CONFIG += staticlib
|
|
|
|
|
|
2018-09-18 20:24:54 +02:00
|
|
|
! include( ../common.pri ) {
|
|
|
|
|
error( "Couldn't find the common.pri file!" )
|
|
|
|
|
}
|
2017-12-16 21:43:51 +01:00
|
|
|
|
2018-09-18 20:24:54 +02:00
|
|
|
INCLUDEPATH += C:\Prog\include\pgsql
|
2017-12-13 18:04:10 +01:00
|
|
|
|
|
|
|
|
# You can also make your code fail to compile if you use deprecated APIs.
|
|
|
|
|
# In order to do so, uncomment the following line.
|
|
|
|
|
# You can also select to disable deprecated APIs only up to a certain version of Qt.
|
|
|
|
|
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
|
|
|
|
|
|
|
|
|
|
SOURCES += \
|
|
|
|
|
Pglablib.cpp \
|
2017-12-29 10:21:10 +01:00
|
|
|
ASyncDBConnection.cpp \
|
|
|
|
|
ConnectionConfig.cpp \
|
2018-12-16 10:17:59 +01:00
|
|
|
catalog/PgType.cpp \
|
|
|
|
|
catalog/PgTypeContainer.cpp \
|
|
|
|
|
catalog/PgNamespace.cpp \
|
|
|
|
|
catalog/PgClass.cpp \
|
|
|
|
|
catalog/PgDatabase.cpp \
|
|
|
|
|
catalog/PgDatabaseContainer.cpp \
|
|
|
|
|
catalog/PgAuthId.cpp \
|
|
|
|
|
catalog/PgAuthIdContainer.cpp \
|
|
|
|
|
catalog/PgClassContainer.cpp \
|
|
|
|
|
catalog/PgDatabaseCatalog.cpp \
|
|
|
|
|
catalog/PgNamespaceContainer.cpp \
|
|
|
|
|
catalog/PgAttribute.cpp \
|
|
|
|
|
catalog/PgContainer.cpp \
|
|
|
|
|
catalog/PgAttributeContainer.cpp \
|
|
|
|
|
catalog/PgIndex.cpp \
|
|
|
|
|
catalog/PgIndexContainer.cpp \
|
|
|
|
|
catalog/PgConstraint.cpp \
|
|
|
|
|
catalog/PgConstraintContainer.cpp \
|
2017-12-13 18:04:10 +01:00
|
|
|
ParamListJson.cpp \
|
2017-12-29 10:21:10 +01:00
|
|
|
ParamListModel.cpp \
|
2018-01-06 21:22:22 +01:00
|
|
|
util.cpp \
|
|
|
|
|
SqlFormattingUtils.cpp \
|
2018-12-16 10:17:59 +01:00
|
|
|
catalog/PgKeywordList.cpp \
|
2018-08-25 18:11:12 +02:00
|
|
|
QueryGenerator.cpp \
|
2018-12-16 10:17:59 +01:00
|
|
|
catalog/PgObject.cpp \
|
|
|
|
|
catalog/PgTablespace.cpp \
|
|
|
|
|
catalog/PgTablespaceContainer.cpp \
|
|
|
|
|
codebuilder/LanguageConfig.cpp \
|
|
|
|
|
codebuilder/CodeBuilder.cpp \
|
|
|
|
|
codebuilder/NameManglingRules.cpp \
|
|
|
|
|
codebuilder/DefaultConfigs.cpp \
|
|
|
|
|
codebuilder/TypeMappings.cpp \
|
|
|
|
|
codebuilder/IndentationConfig.cpp \
|
|
|
|
|
codebuilder/StructureTemplate.cpp \
|
2018-09-23 10:43:32 +02:00
|
|
|
FormatToStream.cpp \
|
|
|
|
|
codebuilder/StringLiteralRules.cpp \
|
|
|
|
|
codebuilder/StringEscapeRule.cpp \
|
2018-12-16 10:17:59 +01:00
|
|
|
catalog/PgTrigger.cpp \
|
|
|
|
|
catalog/PgTriggerContainer.cpp \
|
|
|
|
|
catalog/PgProc.cpp \
|
|
|
|
|
catalog/PgProcContainer.cpp \
|
|
|
|
|
catalog/PgDatabaseObject.cpp \
|
|
|
|
|
catalog/PgServerObject.cpp \
|
|
|
|
|
catalog/PgNamespaceObject.cpp \
|
|
|
|
|
catalog/PgCollation.cpp \
|
|
|
|
|
catalog/PgCollationContainer.cpp \
|
|
|
|
|
catalog/PgInherits.cpp \
|
|
|
|
|
catalog/PgInheritsContainer.cpp \
|
2018-12-15 20:27:40 +01:00
|
|
|
SelectionEditorFactory.cpp \
|
2018-12-16 10:17:59 +01:00
|
|
|
catalog/PgAm.cpp \
|
|
|
|
|
model/TypeModelFactory.cpp \
|
|
|
|
|
model/TypeSelectionItemModel.cpp \
|
2018-12-16 11:35:39 +01:00
|
|
|
catalog/PgAmContainer.cpp \
|
|
|
|
|
model/CollationModel.cpp \
|
2018-12-17 21:51:14 +01:00
|
|
|
model/CollationModelFactory.cpp \
|
|
|
|
|
catalog/PgLanguageContainer.cpp \
|
2018-12-25 13:17:04 +01:00
|
|
|
catalog/PgLanguage.cpp \
|
|
|
|
|
catalog/PgAcl.cpp
|
2017-12-13 18:04:10 +01:00
|
|
|
|
|
|
|
|
HEADERS += \
|
|
|
|
|
Pglablib.h \
|
2017-12-29 10:21:10 +01:00
|
|
|
ASyncDBConnection.h \
|
|
|
|
|
ConnectionConfig.h \
|
2018-12-16 10:17:59 +01:00
|
|
|
catalog/PgType.h \
|
|
|
|
|
catalog/PgTypeContainer.h \
|
|
|
|
|
catalog/PgNamespace.h \
|
|
|
|
|
catalog/PgClass.h \
|
|
|
|
|
catalog/PgDatabase.h \
|
|
|
|
|
catalog/PgDatabaseContainer.h \
|
|
|
|
|
catalog/PgContainer.h \
|
|
|
|
|
catalog/PgAuthId.h \
|
|
|
|
|
catalog/PgAuthIdContainer.h \
|
|
|
|
|
catalog/PgClassContainer.h \
|
|
|
|
|
catalog/PgDatabaseCatalog.h \
|
|
|
|
|
catalog/PgNamespaceContainer.h \
|
|
|
|
|
catalog/PgAttribute.h \
|
|
|
|
|
catalog/PgAttributeContainer.h \
|
|
|
|
|
catalog/PgIndex.h \
|
|
|
|
|
catalog/PgIndexContainer.h \
|
|
|
|
|
catalog/PgConstraint.h \
|
|
|
|
|
catalog/PgConstraintContainer.h \
|
2017-12-13 18:04:10 +01:00
|
|
|
ParamListJson.h \
|
2017-12-29 10:21:10 +01:00
|
|
|
ParamListModel.h \
|
2018-01-06 21:22:22 +01:00
|
|
|
util.h \
|
|
|
|
|
SqlFormattingUtils.h \
|
2018-12-16 10:17:59 +01:00
|
|
|
catalog/PgCatalogTypes.h \
|
|
|
|
|
catalog/PgKeywordList.h \
|
2018-08-25 18:11:12 +02:00
|
|
|
QueryGenerator.h \
|
2018-12-16 10:17:59 +01:00
|
|
|
catalog/PgObject.h \
|
|
|
|
|
catalog/PgTablespace.h \
|
|
|
|
|
catalog/PgTablespaceContainer.h \
|
|
|
|
|
codebuilder/LanguageConfig.h \
|
|
|
|
|
codebuilder/CodeBuilder.h \
|
|
|
|
|
codebuilder/NameManglingRules.h \
|
|
|
|
|
codebuilder/DefaultConfigs.h \
|
|
|
|
|
codebuilder/TypeMappings.h \
|
|
|
|
|
codebuilder/IndentationConfig.h \
|
|
|
|
|
codebuilder/StructureTemplate.h \
|
2018-09-19 09:55:43 +02:00
|
|
|
FormatToStream.h \
|
2018-09-23 10:43:32 +02:00
|
|
|
codebuilder/ResultLoopTemplate.h \
|
|
|
|
|
codebuilder/StringEscapeRule.h \
|
|
|
|
|
codebuilder/StringLiteralRules.h \
|
2018-12-16 10:17:59 +01:00
|
|
|
catalog/PgTrigger.h \
|
|
|
|
|
catalog/PgTriggerContainer.h \
|
|
|
|
|
catalog/PgProc.h \
|
|
|
|
|
catalog/PgProcContainer.h \
|
|
|
|
|
catalog/PgDatabaseObject.h \
|
|
|
|
|
catalog/PgServerObject.h \
|
|
|
|
|
catalog/PgNamespaceObject.h \
|
|
|
|
|
catalog/PgCollation.h \
|
|
|
|
|
catalog/PgCollationContainer.h \
|
2018-12-15 20:27:40 +01:00
|
|
|
AbstractModelFactory.h \
|
|
|
|
|
AbstractEditorFactory.h \
|
2018-12-16 10:17:59 +01:00
|
|
|
catalog/PgInherits.h \
|
|
|
|
|
catalog/PgInheritsContainer.h \
|
2018-12-15 20:27:40 +01:00
|
|
|
SelectionEditorFactory.h \
|
2018-12-16 10:17:59 +01:00
|
|
|
model/TypeSelectionItemModel.h \
|
|
|
|
|
model/TypeModelFactory.h \
|
|
|
|
|
catalog/PgAm.h \
|
2018-12-16 11:35:39 +01:00
|
|
|
catalog/PgAmContainer.h \
|
|
|
|
|
model/CollationModel.h \
|
2018-12-17 21:51:14 +01:00
|
|
|
model/CollationModelFactory.h \
|
|
|
|
|
catalog/PgLanguageContainer.h \
|
2018-12-25 13:17:04 +01:00
|
|
|
catalog/PgLanguage.h \
|
|
|
|
|
catalog/PgAcl.h
|
2017-12-29 10:21:10 +01:00
|
|
|
|
2017-12-13 18:04:10 +01:00
|
|
|
unix {
|
|
|
|
|
target.path = /usr/lib
|
|
|
|
|
INSTALLS += target
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../core/release/ -lcore
|
|
|
|
|
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../core/debug/ -lcore
|
|
|
|
|
else:unix:!macx: LIBS += -L$$OUT_PWD/../core/ -lcore
|
|
|
|
|
|
|
|
|
|
INCLUDEPATH += $$PWD/../core
|
|
|
|
|
DEPENDPATH += $$PWD/../core
|
|
|
|
|
|
|
|
|
|
win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../core/release/libcore.a
|
|
|
|
|
else:win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../core/debug/libcore.a
|
|
|
|
|
else:win32:!win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../core/release/core.lib
|
|
|
|
|
else:win32:!win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../core/debug/core.lib
|
|
|
|
|
else:unix:!macx: PRE_TARGETDEPS += $$OUT_PWD/../core/libcore.a
|
|
|
|
|
|
|
|
|
|
win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../pgsql/release/ -lpgsql
|
|
|
|
|
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../pgsql/debug/ -lpgsql
|
|
|
|
|
else:unix:!macx: LIBS += -L$$OUT_PWD/../pgsql/ -lpgsql
|
|
|
|
|
|
|
|
|
|
INCLUDEPATH += $$PWD/../pgsql
|
|
|
|
|
DEPENDPATH += $$PWD/../pgsql
|
|
|
|
|
|
|
|
|
|
win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../pgsql/release/libpgsql.a
|
|
|
|
|
else:win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../pgsql/debug/libpgsql.a
|
|
|
|
|
else:win32:!win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../pgsql/release/pgsql.lib
|
|
|
|
|
else:win32:!win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../pgsql/debug/pgsql.lib
|
|
|
|
|
else:unix:!macx: PRE_TARGETDEPS += $$OUT_PWD/../pgsql/libpgsql.a
|
2018-11-25 09:06:01 +01:00
|
|
|
|
|
|
|
|
win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../core/release/ -lcore
|
|
|
|
|
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../core/debug/ -lcore
|
|
|
|
|
else:unix: LIBS += -L$$OUT_PWD/../core/ -lcore
|
|
|
|
|
|
|
|
|
|
INCLUDEPATH += $$PWD/../core
|
|
|
|
|
DEPENDPATH += $$PWD/../core
|
|
|
|
|
|
|
|
|
|
win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../core/release/libcore.a
|
|
|
|
|
else:win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../core/debug/libcore.a
|
|
|
|
|
else:win32:!win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../core/release/core.lib
|
|
|
|
|
else:win32:!win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../core/debug/core.lib
|
|
|
|
|
else:unix: PRE_TARGETDEPS += $$OUT_PWD/../core/libcore.a
|