pgLab/pglab/pglab.pro

179 lines
5.4 KiB
Prolog
Raw Normal View History

#-------------------------------------------------
#
# Project created by QtCreator 2016-11-11T09:17:13
#
#-------------------------------------------------
CONFIG += c++17
QT += core gui concurrent
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-12-19 18:17:18 +01:00
#}
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 \
tsqueue.cpp \
CreateDatabaseDialog.cpp \
2017-02-12 15:51:36 +01:00
ConnectionManagerWindow.cpp \
ConnectionListModel.cpp \
BackupRestore.cpp \
QueryTab.cpp \
stopwatch.cpp \
2017-02-12 15:51:36 +01:00
TuplesResultWidget.cpp \
BackupDialog.cpp \
TypeSelectionItemModel.cpp \
MasterController.cpp \
ParamTypeDelegate.cpp \
OpenDatabase.cpp \
MainWindow.cpp \
SqlSyntaxHighlighter.cpp \
ServerWindow.cpp \
ASyncWindow.cpp \
DatabasesTableModel.cpp \
RolesTableModel.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 \
TablesTableModel.cpp \
ColumnTableModel.cpp \
NamespaceFilterWidget.cpp \
NamespaceItemModel.cpp \
ApplicationWindow.cpp \
ConstraintModel.cpp \
IconColumnDelegate.cpp \
2018-01-08 20:45:52 +01:00
IndexModel.cpp \
CrudTab.cpp \
2018-01-15 13:32:18 +01:00
CrudModel.cpp \
PgLabItemDelegate.cpp \
Module.cpp \
PglPage.cpp \
EditorGutter.cpp \
CodeEditor.cpp
2017-02-06 21:41:45 +01:00
HEADERS += \
2017-02-12 15:51:36 +01:00
QueryResultModel.h \
QueryExplainModel.h \
tsqueue.h \
CreateDatabaseDialog.h \
2017-02-12 15:51:36 +01:00
ConnectionManagerWindow.h \
ConnectionListModel.h \
QueryTab.h \
stopwatch.h \
2017-02-12 15:51:36 +01:00
TuplesResultWidget.h \
BackupDialog.h \
TypeSelectionItemModel.h \
MasterController.h \
ParamTypeDelegate.h \
OpenDatabase.h \
MainWindow.h \
SqlSyntaxHighlighter.h \
ServerWindow.h \
ASyncWindow.h \
DatabasesTableModel.h \
RolesTableModel.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 \
TablesTableModel.h \
ColumnTableModel.h \
NamespaceFilterWidget.h \
NamespaceItemModel.h \
ApplicationWindow.h \
ConstraintModel.h \
IconColumnDelegate.h \
2018-01-08 20:45:52 +01:00
IndexModel.h \
CrudTab.h \
2018-01-15 13:32:18 +01:00
CrudModel.h \
PgLabItemDelegate.h \
Module.h \
PglPage.h \
EditorGutter.h \
CodeEditor.h
FORMS += mainwindow.ui \
2017-02-12 15:51:36 +01:00
ConnectionManagerWindow.ui \
CreateDatabaseDialog.ui \
2017-02-12 15:51:36 +01:00
TuplesResultWidget.ui \
QueryTab.ui \
BackupDialog.ui \
ServerWindow.ui \
ProcessStdioWidget.ui \
TablesPage.ui \
NamespaceFilterWidget.ui \
2018-01-08 20:45:52 +01:00
ApplicationWindow.ui \
CrudTab.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