140 lines
3.7 KiB
Prolog
140 lines
3.7 KiB
Prolog
#-------------------------------------------------
|
|
#
|
|
# Project created by QtCreator 2016-11-11T09:17:13
|
|
#
|
|
#-------------------------------------------------
|
|
|
|
CONFIG += c++17
|
|
QT += core gui
|
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets sql
|
|
|
|
TARGET = pglab
|
|
TEMPLATE = app
|
|
|
|
INCLUDEPATH += C:\prog\include C:\Prog\include\pgsql C:\VSproj\boost32\include\boost-1_65_1
|
|
DEFINES += WIN32_LEAN_AND_MEAN NOMINMAX _WIN32_WINNT=0x0501
|
|
#LIBS += -LC:/prog/boost/lib -Lc:/prog/lib libpq.lib fmt.lib User32.lib ws2_32.lib
|
|
LIBS += -LC:\VSproj\boost32\lib -LC:/PROG/LIB -lws2_32 -llibpq
|
|
|
|
debug {
|
|
LIBS += c:/prog/lib/botand_imp.lib
|
|
}
|
|
|
|
release {
|
|
# LIBS += c:\prog\lib\botan.lib
|
|
}
|
|
|
|
win32:RC_ICONS += pglab.ico
|
|
|
|
SOURCES += main.cpp\
|
|
QueryResultModel.cpp \
|
|
QueryExplainModel.cpp \
|
|
ASyncDBConnection.cpp \
|
|
tsqueue.cpp \
|
|
DatabaseWindow.cpp \
|
|
ConnectionManagerWindow.cpp \
|
|
ConnectionListModel.cpp \
|
|
ConnectionConfig.cpp \
|
|
BackupRestore.cpp \
|
|
QueryTab.cpp \
|
|
stopwatch.cpp \
|
|
util.cpp \
|
|
DatabaseInspectorWidget.cpp \
|
|
PgType.cpp \
|
|
PgDatabaseCatalogue.cpp \
|
|
PgTypeContainer.cpp \
|
|
TuplesResultWidget.cpp \
|
|
PgNamespace.cpp \
|
|
PgClass.cpp \
|
|
BackupDialog.cpp \
|
|
TypeSelectionItemModel.cpp \
|
|
MasterController.cpp \
|
|
ParamTypeDelegate.cpp \
|
|
OpenDatabase.cpp \
|
|
MainWindow.cpp \
|
|
SqlSyntaxHighlighter.cpp \
|
|
ServerWindow.cpp \
|
|
ASyncWindow.cpp \
|
|
DatabasesTableModel.cpp \
|
|
PgDatabase.cpp \
|
|
PgDatabaseContainer.cpp \
|
|
RolesTableModel.cpp \
|
|
PgAuthId.cpp \
|
|
PgAuthIdContainer.cpp \
|
|
ConnectionList.cpp \
|
|
ProcessStdioWidget.cpp \
|
|
GlobalIoService.cpp \
|
|
CodeBuilderConfiguration.cpp \
|
|
ResultTableModelUtil.cpp \
|
|
BaseTableModel.cpp \
|
|
QueryParamListController.cpp
|
|
|
|
HEADERS += \
|
|
QueryResultModel.h \
|
|
QueryExplainModel.h \
|
|
ASyncDBConnection.h \
|
|
tsqueue.h \
|
|
DatabaseWindow.h \
|
|
ConnectionManagerWindow.h \
|
|
ConnectionListModel.h \
|
|
ConnectionConfig.h \
|
|
QueryTab.h \
|
|
stopwatch.h \
|
|
util.h \
|
|
DatabaseInspectorWidget.h \
|
|
PgType.h \
|
|
PgDatabaseCatalogue.h \
|
|
PgTypeContainer.h \
|
|
TuplesResultWidget.h \
|
|
PgNamespace.h \
|
|
PgClass.h \
|
|
BackupDialog.h \
|
|
TypeSelectionItemModel.h \
|
|
MasterController.h \
|
|
ParamTypeDelegate.h \
|
|
OpenDatabase.h \
|
|
MainWindow.h \
|
|
SqlSyntaxHighlighter.h \
|
|
ServerWindow.h \
|
|
ASyncWindow.h \
|
|
DatabasesTableModel.h \
|
|
PgDatabase.h \
|
|
PgDatabaseContainer.h \
|
|
PgContainer.h \
|
|
RolesTableModel.h \
|
|
PgAuthId.h \
|
|
PgAuthIdContainer.h \
|
|
ConnectionList.h \
|
|
ProcessStdioWidget.h \
|
|
GlobalIoService.h \
|
|
CodeBuilderConfiguration.h \
|
|
ResultTableModelUtil.h \
|
|
BaseTableModel.h \
|
|
QueryParamListController.h
|
|
|
|
FORMS += mainwindow.ui \
|
|
DatabaseWindow.ui \
|
|
ConnectionManagerWindow.ui \
|
|
DatabaseInspectorWidget.ui \
|
|
TuplesResultWidget.ui \
|
|
QueryTab.ui \
|
|
BackupDialog.ui \
|
|
ServerWindow.ui \
|
|
ProcessStdioWidget.ui
|
|
|
|
RESOURCES += \
|
|
resources.qrc
|
|
|
|
QMAKE_LFLAGS_WINDOWS = /SUBSYSTEM:WINDOWS,5.01
|
|
|
|
win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../core/release/ -lcore
|
|
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../core/debug/ -L$$OUT_PWD/../pgsql/debug/ -lcore -lpgsql
|
|
|
|
INCLUDEPATH += $$PWD/../core $$PWD/../pgsql
|
|
DEPENDPATH += $$PWD/../core $$PWD/../pgsql
|
|
|
|
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 $$OUT_PWD/../pgsql/debug/pgsql.lib
|