Merge branch 'master' of ssh://gitlab.com:/eelke/pgLab
# Conflicts: # common.pri
This commit is contained in:
commit
4694b09ba1
9 changed files with 31 additions and 28 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -2,7 +2,7 @@
|
||||||
build/*
|
build/*
|
||||||
*.kdev4
|
*.kdev4
|
||||||
.kdev4/*
|
.kdev4/*
|
||||||
|
local.pri
|
||||||
DIST/
|
DIST/
|
||||||
*.autosave
|
*.autosave
|
||||||
srcdoc/
|
srcdoc/
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,10 @@
|
||||||
INCLUDEPATH += \prog\include \prog\include\pgsql \VSproj\boost\include\boost-1_68
|
! include( ./local.pri ) {
|
||||||
|
error( "Use local.pri.sample to create your own local.pri" )
|
||||||
|
}
|
||||||
|
|
||||||
LIBS += -L\VSproj\boost\lib -L/PROG/LIB -lws2_32 -llibpq
|
LIBS += -lws2_32 -llibpq
|
||||||
|
|
||||||
|
CONFIG += c++17
|
||||||
QMAKE_CXXFLAGS += /std:c++17
|
QMAKE_CXXFLAGS += /std:c++17
|
||||||
|
|
||||||
# The following define makes your compiler emit warnings if you use
|
# The following define makes your compiler emit warnings if you use
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ QT += sql
|
||||||
|
|
||||||
TARGET = core
|
TARGET = core
|
||||||
TEMPLATE = lib
|
TEMPLATE = lib
|
||||||
CONFIG += staticlib c++17
|
CONFIG += staticlib
|
||||||
|
|
||||||
! include( ../common.pri ) {
|
! include( ../common.pri ) {
|
||||||
error( "Couldn't find the common.pri file!" )
|
error( "Couldn't find the common.pri file!" )
|
||||||
|
|
|
||||||
10
ctk/ctk.pro
10
ctk/ctk.pro
|
|
@ -8,15 +8,7 @@ QT += widgets
|
||||||
|
|
||||||
TARGET = ctk
|
TARGET = ctk
|
||||||
TEMPLATE = lib
|
TEMPLATE = lib
|
||||||
CONFIG += staticlib c++14
|
CONFIG += staticlib
|
||||||
|
|
||||||
QMAKE_CXXFLAGS += /std:c++17
|
|
||||||
|
|
||||||
INCLUDEPATH += C:\prog\include \
|
|
||||||
C:\Prog\include\pgsql \
|
|
||||||
C:\VSproj\boost32\include
|
|
||||||
|
|
||||||
DEFINES += WIN32_LEAN_AND_MEAN NOMINMAX
|
|
||||||
|
|
||||||
|
|
||||||
# The following define makes your compiler emit warnings if you use
|
# The following define makes your compiler emit warnings if you use
|
||||||
|
|
|
||||||
17
local.pri.sample
Normal file
17
local.pri.sample
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
# Need paths here to find following library headers
|
||||||
|
# - botan
|
||||||
|
# - boost
|
||||||
|
# - libpq
|
||||||
|
# ???
|
||||||
|
INCLUDEPATH += c:/prog/include
|
||||||
|
INCLUDEPATH += c:/prog/include/pgsql
|
||||||
|
INCLUDEPATH += c:/VSproj/boost/include/boost-1_68
|
||||||
|
|
||||||
|
# Need paths here to find library files for
|
||||||
|
# - botan
|
||||||
|
# - boost
|
||||||
|
# - libpq
|
||||||
|
#
|
||||||
|
LIBS += -L\VSproj\boost\lib -L/PROG/LIB
|
||||||
|
|
||||||
|
GOOGLETEST_DIR = c:/prog/googletest
|
||||||
|
|
@ -4,7 +4,6 @@
|
||||||
#
|
#
|
||||||
#-------------------------------------------------
|
#-------------------------------------------------
|
||||||
|
|
||||||
CONFIG += c++17
|
|
||||||
QT += core gui concurrent
|
QT += core gui concurrent
|
||||||
|
|
||||||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets sql
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets sql
|
||||||
|
|
@ -17,11 +16,7 @@ TEMPLATE = app
|
||||||
error( "Couldn't find the common.pri file!" )
|
error( "Couldn't find the common.pri file!" )
|
||||||
}
|
}
|
||||||
|
|
||||||
INCLUDEPATH += C:\Prog\include\pgsql
|
|
||||||
DEFINES += _WIN32_WINNT=0x0501
|
DEFINES += _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
|
|
||||||
|
|
||||||
|
|
||||||
win32:RC_ICONS += pglab.ico
|
win32:RC_ICONS += pglab.ico
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
#
|
#
|
||||||
#-------------------------------------------------
|
#-------------------------------------------------
|
||||||
|
|
||||||
CONFIG += staticlib c++17
|
CONFIG += staticlib
|
||||||
QT += core
|
QT += core
|
||||||
|
|
||||||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets sql
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets sql
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ error( "Couldn't find the common.pri file!" )
|
||||||
include(gtest_dependency.pri)
|
include(gtest_dependency.pri)
|
||||||
|
|
||||||
TEMPLATE = app
|
TEMPLATE = app
|
||||||
CONFIG += console c++17
|
CONFIG += console
|
||||||
CONFIG -= app_bundle
|
CONFIG -= app_bundle
|
||||||
CONFIG += thread
|
CONFIG += thread
|
||||||
CONFIG += qt
|
CONFIG += qt
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,16 @@
|
||||||
|
! include( ../../common.pri ) {
|
||||||
|
error( "Couldn't find the common.pri file!" )
|
||||||
|
}
|
||||||
include(gtest_dependency.pri)
|
include(gtest_dependency.pri)
|
||||||
|
|
||||||
TEMPLATE = app
|
TEMPLATE = app
|
||||||
CONFIG += console c++17
|
CONFIG += console
|
||||||
CONFIG -= app_bundle
|
CONFIG -= app_bundle
|
||||||
CONFIG += thread
|
CONFIG += thread
|
||||||
CONFIG += qt
|
CONFIG += qt
|
||||||
|
|
||||||
QT += core widgets
|
QT += core widgets
|
||||||
|
|
||||||
QMAKE_CXXFLAGS += /std:c++17
|
|
||||||
|
|
||||||
! include( ../../common.pri ) {
|
|
||||||
error( "Couldn't find the common.pri file!" )
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
HEADERS +=
|
HEADERS +=
|
||||||
|
|
||||||
SOURCES += main.cpp \
|
SOURCES += main.cpp \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue