Added ismas_client.h/.cpp. Added c++17-flag.

This commit is contained in:
Gerhard Hoffmann 2023-07-11 16:59:49 +02:00
parent 26db620465
commit 1309c27f7c

View File

@ -36,7 +36,7 @@ contains( CONFIG, PTU5 ) {
greaterThan(QT_MAJOR_VERSION, 4): QT += serialport greaterThan(QT_MAJOR_VERSION, 4): QT += serialport
CONFIG += link_pkgconfig CONFIG += link_pkgconfig
lessThan(QT_MAJOR_VERSION, 5): PKGCONFIG += qextserialport lessThan(QT_MAJOR_VERSION, 5): PKGCONFIG += qextserialport
QMAKE_CXXFLAGS += -std=c++11 # for GCC >= 4.7 QMAKE_CXXFLAGS += -std=c++17 # for GCC >= 4.7
QMAKE_CXXFLAGS += -Wno-deprecated-copy QMAKE_CXXFLAGS += -Wno-deprecated-copy
ARCH = PTU5 ARCH = PTU5
DEFINES+=PTU5 DEFINES+=PTU5
@ -55,7 +55,7 @@ contains( CONFIG, DesktopLinux ) {
lessThan(QT_MAJOR_VERSION, 5): CONFIG += extserialport lessThan(QT_MAJOR_VERSION, 5): CONFIG += extserialport
# QMAKE_CC = ccache $$QMAKE_CC # QMAKE_CC = ccache $$QMAKE_CC
# QMAKE_CXX = ccache $$QMAKE_CXX # QMAKE_CXX = ccache $$QMAKE_CXX
QMAKE_CXXFLAGS += -std=c++11 QMAKE_CXXFLAGS += -std=c++17
QMAKE_CXXFLAGS += -Wno-deprecated-copy QMAKE_CXXFLAGS += -Wno-deprecated-copy
linux-clang { QMAKE_CXXFLAGS += -Qunused-arguments } linux-clang { QMAKE_CXXFLAGS += -Qunused-arguments }
ARCH = DesktopLinux ARCH = DesktopLinux
@ -68,6 +68,7 @@ SOURCES += \
git/git_client.cpp \ git/git_client.cpp \
apism/apism_client.cpp \ apism/apism_client.cpp \
apism/apism_tcp_client.cpp \ apism/apism_tcp_client.cpp \
ismas/ismas_client.cpp \
process/command.cpp \ process/command.cpp \
message_handler.cpp \ message_handler.cpp \
worker.cpp \ worker.cpp \
@ -79,6 +80,7 @@ HEADERS += \
apism/apism_client.h \ apism/apism_client.h \
apism/apism_tcp_client.h \ apism/apism_tcp_client.h \
apism/ismas_data.h \ apism/ismas_data.h \
ismas/ismas_client.h \
process/command.h \ process/command.h \
message_handler.h \ message_handler.h \
worker.h \ worker.h \