From 1309c27f7c6d98aa892ecb36e4bce93f0a0229a5 Mon Sep 17 00:00:00 2001 From: Gerhard Hoffmann Date: Tue, 11 Jul 2023 16:59:49 +0200 Subject: [PATCH] Added ismas_client.h/.cpp. Added c++17-flag. --- OnDemandUpdatePTU.pro | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/OnDemandUpdatePTU.pro b/OnDemandUpdatePTU.pro index f7ffc60..9cdd8b2 100644 --- a/OnDemandUpdatePTU.pro +++ b/OnDemandUpdatePTU.pro @@ -36,7 +36,7 @@ contains( CONFIG, PTU5 ) { greaterThan(QT_MAJOR_VERSION, 4): QT += serialport CONFIG += link_pkgconfig 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 ARCH = PTU5 DEFINES+=PTU5 @@ -55,7 +55,7 @@ contains( CONFIG, DesktopLinux ) { lessThan(QT_MAJOR_VERSION, 5): CONFIG += extserialport # QMAKE_CC = ccache $$QMAKE_CC # QMAKE_CXX = ccache $$QMAKE_CXX - QMAKE_CXXFLAGS += -std=c++11 + QMAKE_CXXFLAGS += -std=c++17 QMAKE_CXXFLAGS += -Wno-deprecated-copy linux-clang { QMAKE_CXXFLAGS += -Qunused-arguments } ARCH = DesktopLinux @@ -68,6 +68,7 @@ SOURCES += \ git/git_client.cpp \ apism/apism_client.cpp \ apism/apism_tcp_client.cpp \ + ismas/ismas_client.cpp \ process/command.cpp \ message_handler.cpp \ worker.cpp \ @@ -79,6 +80,7 @@ HEADERS += \ apism/apism_client.h \ apism/apism_tcp_client.h \ apism/ismas_data.h \ + ismas/ismas_client.h \ process/command.h \ message_handler.h \ worker.h \