pgLab/pglab/pglab.pro

203 lines
6 KiB
Prolog
Raw Normal View History

#-------------------------------------------------
#
# Project created by QtCreator 2016-11-11T09:17:13
#
#-------------------------------------------------
CONFIG += c++17
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets sql
2017-12-16 21:43:51 +01:00
QMAKE_CXXFLAGS += /std:c++17
2017-01-15 12:58:41 +01:00
TARGET = pglab
TEMPLATE = app
2017-11-26 13:07:21 +01:00
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
2017-11-26 13:07:21 +01:00
LIBS += -LC:\VSproj\boost32\lib -LC:/PROG/LIB -lws2_32 -llibpq
2017-12-19 18:17:18 +01:00
#debug {
LIBS += c:/prog/lib/botand_imp.lib
2017-12-19 18:17:18 +01:00
#}
2017-12-19 18:17:18 +01:00
#release {
#LIBS += c:\prog\lib\botan.lib
#}
2017-02-13 19:51:57 +01:00
win32:RC_ICONS += pglab.ico
SOURCES += main.cpp\
2017-02-12 15:51:36 +01:00
QueryResultModel.cpp \
QueryExplainModel.cpp \
ASyncDBConnection.cpp \
tsqueue.cpp \
CreateDatabaseDialog.cpp \
2017-02-12 15:51:36 +01:00
DatabaseWindow.cpp \
ConnectionManagerWindow.cpp \
ConnectionListModel.cpp \
ConnectionConfig.cpp \
BackupRestore.cpp \
QueryTab.cpp \
stopwatch.cpp \
util.cpp \
2017-02-12 15:51:36 +01:00
DatabaseInspectorWidget.cpp \
PgType.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 \
2017-02-13 19:51:19 +01:00
PgDatabaseContainer.cpp \
RolesTableModel.cpp \
PgAuthId.cpp \
PgAuthIdContainer.cpp \
ConnectionList.cpp \
2017-11-26 13:07:21 +01:00
ProcessStdioWidget.cpp \
GlobalIoService.cpp \
CodeBuilderConfiguration.cpp \
ResultTableModelUtil.cpp \
BaseTableModel.cpp \
QueryParamListController.cpp \
TablesPage.cpp \
PgClassContainer.cpp \
TablesTableModel.cpp \
PgDatabaseCatalog.cpp \
PgNamespaceContainer.cpp \
ColumnTableModel.cpp \
PgAttribute.cpp \
PgContainer.cpp \
2017-12-16 21:43:51 +01:00
PgAttributeContainer.cpp \
2017-12-17 11:28:20 +01:00
PgIndex.cpp \
PgIndexContainer.cpp \
PgConstraint.cpp \
PgConstraintContainer.cpp \
NamespaceFilterWidget.cpp \
NamespaceItemModel.cpp
2017-02-06 21:41:45 +01:00
HEADERS += \
2017-02-12 15:51:36 +01:00
QueryResultModel.h \
QueryExplainModel.h \
ASyncDBConnection.h \
tsqueue.h \
CreateDatabaseDialog.h \
2017-02-12 15:51:36 +01:00
DatabaseWindow.h \
ConnectionManagerWindow.h \
ConnectionListModel.h \
ConnectionConfig.h \
QueryTab.h \
stopwatch.h \
util.h \
2017-02-12 15:51:36 +01:00
DatabaseInspectorWidget.h \
PgType.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 \
2017-02-13 19:51:19 +01:00
PgContainer.h \
RolesTableModel.h \
PgAuthId.h \
PgAuthIdContainer.h \
ConnectionList.h \
2017-11-26 13:07:21 +01:00
ProcessStdioWidget.h \
GlobalIoService.h \
CodeBuilderConfiguration.h \
ResultTableModelUtil.h \
BaseTableModel.h \
QueryParamListController.h \
TablesPage.h \
PgClassContainer.h \
TablesTableModel.h \
PgDatabaseCatalog.h \
PgNamespaceContainer.h \
ColumnTableModel.h \
PgAttribute.h \
2017-12-16 21:43:51 +01:00
PgAttributeContainer.h \
2017-12-17 11:28:20 +01:00
PgIndex.h \
PgIndexContainer.h \
PgConstraint.h \
PgConstraintContainer.h \
NamespaceFilterWidget.h \
NamespaceItemModel.h
FORMS += mainwindow.ui \
2017-02-12 15:51:36 +01:00
DatabaseWindow.ui \
ConnectionManagerWindow.ui \
CreateDatabaseDialog.ui \
2017-02-12 15:51:36 +01:00
DatabaseInspectorWidget.ui \
TuplesResultWidget.ui \
QueryTab.ui \
BackupDialog.ui \
ServerWindow.ui \
ProcessStdioWidget.ui \
TablesPage.ui \
NamespaceFilterWidget.ui
RESOURCES += \
resources.qrc
2017-02-13 19:51:45 +01:00
2017-11-26 13:07:21 +01:00
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/ -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
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
win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../pglablib/release/ -lpglablib
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../pglablib/debug/ -lpglablib
else:unix:!macx: LIBS += -L$$OUT_PWD/../pglablib/ -lpglablib
INCLUDEPATH += $$PWD/../pglablib
DEPENDPATH += $$PWD/../pglablib
win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../pglablib/release/libpglablib.a
else:win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../pglablib/debug/libpglablib.a
else:win32:!win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../pglablib/release/pglablib.lib
else:win32:!win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../pglablib/debug/pglablib.lib
else:unix:!macx: PRE_TARGETDEPS += $$OUT_PWD/../pglablib/libpglablib.a