Implemented ArrayParser and unit tests to verify its working.

This commit is contained in:
eelke 2017-12-16 10:31:51 +01:00
parent b5d800c87e
commit ec930218cd
4 changed files with 254 additions and 3 deletions

View file

@ -4,7 +4,7 @@
#
#-------------------------------------------------
CONFIG += staticlib c++14
CONFIG += staticlib c++17
QT += core
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets sql
@ -16,6 +16,8 @@ INCLUDEPATH += C:\prog\include \
C:\Prog\include\pgsql \
C:\VSproj\boost32\include\boost-1_65_1
QMAKE_CXXFLAGS += /std:c++17
DEFINES += WIN32_LEAN_AND_MEAN NOMINMAX
#LIBS += -LC:/prog/boost/lib -Lc:/prog/lib libpq.lib fmt.lib User32.lib ws2_32.lib
LIBS += -LC:/PROG/LIB -lws2_32 -llibpq
@ -35,7 +37,8 @@ SOURCES += Pgsql_Connection.cpp \
Pgsql_Result.cpp \
Pgsql_Row.cpp \
Pgsql_Value.cpp \
Pgsql_Col.cpp
Pgsql_Col.cpp \
ArrayParser.cpp
HEADERS += Pgsql_Connection.h \
Pgsql_Params.h \
@ -43,7 +46,8 @@ HEADERS += Pgsql_Connection.h \
Pgsql_Row.h \
Pgsql_Value.h \
Pgsql_declare.h \
Pgsql_Col.h
Pgsql_Col.h \
ArrayParser.h
#FORMS +=