Skip to content

Commit

Permalink
Release v2.8
Browse files Browse the repository at this point in the history
  • Loading branch information
arobenko committed Jun 26, 2024
2 parents 181de32 + f74dc41 commit 80516b6
Show file tree
Hide file tree
Showing 48 changed files with 88 additions and 49 deletions.
17 changes: 16 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@ cmake_minimum_required (VERSION 3.10)
project ("cc_demo1_cc_tools_qt_plugin")

# Build options:
option (OPT_WARN_AS_ERR "Treat warnings as errors" ON)
option (OPT_USE_CCACHE "Use ccache" OFF)
option (OPT_INSTALL_DEFAULT_CONFIG "Install default plugin configuration" ON)

# Configuration variables:
# OPT_QT_MAJOR_VERSION - The major Qt version, defaults to 5
# OPT_CCACHE_EXECUTABLE - Custom ccache executable

######################################################################

Expand All @@ -30,8 +33,20 @@ set (CMAKE_AUTOMOC ON)
set (CMAKE_AUTOUIC ON)
set (CMAKE_AUTORCC ON)

set (extra_opts)
if (OPT_WARN_AS_ERR)
list(APPEND extra_opts WARN_AS_ERR)
endif()

if (OPT_USE_CCACHE)
list(APPEND extra_opts USE_CCACHE)
if (NOT "${OPT_CCACHE_EXECUTABLE}" STREQUAL "")
list(APPEND extra_opts CCACHE_EXECUTABLE "${OPT_CCACHE_EXECUTABLE}")
endif()
endif()

include(${LibComms_DIR}/CC_Compile.cmake)
cc_compile(WARN_AS_ERR)
cc_compile(${extra_opts})
cc_msvc_force_warn_opt(/W4)

include(GNUInstallDirs)
Expand Down
2 changes: 1 addition & 1 deletion cc_tools_qt_plugin/cc_demo1/Message.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2tools_qt v6.3.2
// Generated by commsdsl2tools_qt v6.3.3

#include "Message.h"

Expand Down
2 changes: 1 addition & 1 deletion cc_tools_qt_plugin/cc_demo1/Message.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2tools_qt v6.3.2
// Generated by commsdsl2tools_qt v6.3.3

#pragma once

Expand Down
4 changes: 2 additions & 2 deletions cc_tools_qt_plugin/cc_demo1/Version.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// Generated by commsdsl2tools_qt v6.3.2
// Generated by commsdsl2tools_qt v6.3.3

#pragma once

#include "cc_tools_qt/version.h"

static_assert(CC_TOOLS_QT_MAKE_VERSION(5, 2, 1) <= cc_tools_qt::version(),
static_assert(CC_TOOLS_QT_MAKE_VERSION(5, 3, 1) <= cc_tools_qt::version(),
"The version of cc_tools_qt library is too old");
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2tools_qt v6.3.2
// Generated by commsdsl2tools_qt v6.3.3

#include "cc_demo1/MsgId.h"
#include "cc_tools_qt_plugin/cc_demo1/factory/AllMessagesDynMemMsgFactory.h"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2tools_qt v6.3.2
// Generated by commsdsl2tools_qt v6.3.3

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion cc_tools_qt_plugin/cc_demo1/field/Lat.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2tools_qt v6.3.2
// Generated by commsdsl2tools_qt v6.3.3

#include "Lat.h"

Expand Down
2 changes: 1 addition & 1 deletion cc_tools_qt_plugin/cc_demo1/field/Lat.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2tools_qt v6.3.2
// Generated by commsdsl2tools_qt v6.3.3

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion cc_tools_qt_plugin/cc_demo1/field/Lon.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2tools_qt v6.3.2
// Generated by commsdsl2tools_qt v6.3.3

#include "Lon.h"

Expand Down
2 changes: 1 addition & 1 deletion cc_tools_qt_plugin/cc_demo1/field/Lon.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2tools_qt v6.3.2
// Generated by commsdsl2tools_qt v6.3.3

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion cc_tools_qt_plugin/cc_demo1/field/MsgId.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2tools_qt v6.3.2
// Generated by commsdsl2tools_qt v6.3.3

#include "MsgId.h"

Expand Down
2 changes: 1 addition & 1 deletion cc_tools_qt_plugin/cc_demo1/field/MsgId.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2tools_qt v6.3.2
// Generated by commsdsl2tools_qt v6.3.3

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion cc_tools_qt_plugin/cc_demo1/field/PropRemLen.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2tools_qt v6.3.2
// Generated by commsdsl2tools_qt v6.3.3

#include "PropRemLen.h"

Expand Down
2 changes: 1 addition & 1 deletion cc_tools_qt_plugin/cc_demo1/field/PropRemLen.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2tools_qt v6.3.2
// Generated by commsdsl2tools_qt v6.3.3

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion cc_tools_qt_plugin/cc_demo1/frame/Frame.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2tools_qt v6.3.2
// Generated by commsdsl2tools_qt v6.3.3

#pragma once

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2tools_qt v6.3.2
// Generated by commsdsl2tools_qt v6.3.3

#include "FrameTransportMessage.h"

Expand Down
2 changes: 1 addition & 1 deletion cc_tools_qt_plugin/cc_demo1/frame/FrameTransportMessage.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2tools_qt v6.3.2
// Generated by commsdsl2tools_qt v6.3.3

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion cc_tools_qt_plugin/cc_demo1/input/AllMessages.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2tools_qt v6.3.2
// Generated by commsdsl2tools_qt v6.3.3

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion cc_tools_qt_plugin/cc_demo1/message/Ack.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2tools_qt v6.3.2
// Generated by commsdsl2tools_qt v6.3.3

#include "Ack.h"

Expand Down
4 changes: 3 additions & 1 deletion cc_tools_qt_plugin/cc_demo1/message/Ack.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2tools_qt v6.3.2
// Generated by commsdsl2tools_qt v6.3.3

#pragma once

Expand Down Expand Up @@ -26,6 +26,8 @@ class Ack : public cc_tools_qt_plugin::cc_demo1::Message
Ack& operator=(const Ack& other);
Ack& operator=(Ack&&);
static MsgIdParamType doGetId();
static constexpr bool hasStaticMsgId() { return true; }
static constexpr MsgIdType staticMsgId() { return static_cast<MsgIdType>(0U); }

protected:
virtual const char* nameImpl() const override;
Expand Down
2 changes: 1 addition & 1 deletion cc_tools_qt_plugin/cc_demo1/message/Bitfields.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2tools_qt v6.3.2
// Generated by commsdsl2tools_qt v6.3.3

#include "Bitfields.h"

Expand Down
4 changes: 3 additions & 1 deletion cc_tools_qt_plugin/cc_demo1/message/Bitfields.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2tools_qt v6.3.2
// Generated by commsdsl2tools_qt v6.3.3

#pragma once

Expand Down Expand Up @@ -26,6 +26,8 @@ class Bitfields : public cc_tools_qt_plugin::cc_demo1::Message
Bitfields& operator=(const Bitfields& other);
Bitfields& operator=(Bitfields&&);
static MsgIdParamType doGetId();
static constexpr bool hasStaticMsgId() { return true; }
static constexpr MsgIdType staticMsgId() { return static_cast<MsgIdType>(6U); }

protected:
virtual const char* nameImpl() const override;
Expand Down
2 changes: 1 addition & 1 deletion cc_tools_qt_plugin/cc_demo1/message/Datas.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2tools_qt v6.3.2
// Generated by commsdsl2tools_qt v6.3.3

#include "Datas.h"

Expand Down
4 changes: 3 additions & 1 deletion cc_tools_qt_plugin/cc_demo1/message/Datas.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2tools_qt v6.3.2
// Generated by commsdsl2tools_qt v6.3.3

#pragma once

Expand Down Expand Up @@ -26,6 +26,8 @@ class Datas : public cc_tools_qt_plugin::cc_demo1::Message
Datas& operator=(const Datas& other);
Datas& operator=(Datas&&);
static MsgIdParamType doGetId();
static constexpr bool hasStaticMsgId() { return true; }
static constexpr MsgIdType staticMsgId() { return static_cast<MsgIdType>(8U); }

protected:
virtual const char* nameImpl() const override;
Expand Down
2 changes: 1 addition & 1 deletion cc_tools_qt_plugin/cc_demo1/message/Enums.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2tools_qt v6.3.2
// Generated by commsdsl2tools_qt v6.3.3

#include "Enums.h"

Expand Down
4 changes: 3 additions & 1 deletion cc_tools_qt_plugin/cc_demo1/message/Enums.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2tools_qt v6.3.2
// Generated by commsdsl2tools_qt v6.3.3

#pragma once

Expand Down Expand Up @@ -26,6 +26,8 @@ class Enums : public cc_tools_qt_plugin::cc_demo1::Message
Enums& operator=(const Enums& other);
Enums& operator=(Enums&&);
static MsgIdParamType doGetId();
static constexpr bool hasStaticMsgId() { return true; }
static constexpr MsgIdType staticMsgId() { return static_cast<MsgIdType>(4U); }

protected:
virtual const char* nameImpl() const override;
Expand Down
2 changes: 1 addition & 1 deletion cc_tools_qt_plugin/cc_demo1/message/Floats.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2tools_qt v6.3.2
// Generated by commsdsl2tools_qt v6.3.3

#include "Floats.h"

Expand Down
4 changes: 3 additions & 1 deletion cc_tools_qt_plugin/cc_demo1/message/Floats.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2tools_qt v6.3.2
// Generated by commsdsl2tools_qt v6.3.3

#pragma once

Expand Down Expand Up @@ -26,6 +26,8 @@ class Floats : public cc_tools_qt_plugin::cc_demo1::Message
Floats& operator=(const Floats& other);
Floats& operator=(Floats&&);
static MsgIdParamType doGetId();
static constexpr bool hasStaticMsgId() { return true; }
static constexpr MsgIdType staticMsgId() { return static_cast<MsgIdType>(3U); }

protected:
virtual const char* nameImpl() const override;
Expand Down
2 changes: 1 addition & 1 deletion cc_tools_qt_plugin/cc_demo1/message/Lists.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2tools_qt v6.3.2
// Generated by commsdsl2tools_qt v6.3.3

#include "Lists.h"

Expand Down
4 changes: 3 additions & 1 deletion cc_tools_qt_plugin/cc_demo1/message/Lists.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2tools_qt v6.3.2
// Generated by commsdsl2tools_qt v6.3.3

#pragma once

Expand Down Expand Up @@ -26,6 +26,8 @@ class Lists : public cc_tools_qt_plugin::cc_demo1::Message
Lists& operator=(const Lists& other);
Lists& operator=(Lists&&);
static MsgIdParamType doGetId();
static constexpr bool hasStaticMsgId() { return true; }
static constexpr MsgIdType staticMsgId() { return static_cast<MsgIdType>(9U); }

protected:
virtual const char* nameImpl() const override;
Expand Down
2 changes: 1 addition & 1 deletion cc_tools_qt_plugin/cc_demo1/message/Optionals.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2tools_qt v6.3.2
// Generated by commsdsl2tools_qt v6.3.3

#include "Optionals.h"

Expand Down
4 changes: 3 additions & 1 deletion cc_tools_qt_plugin/cc_demo1/message/Optionals.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2tools_qt v6.3.2
// Generated by commsdsl2tools_qt v6.3.3

#pragma once

Expand Down Expand Up @@ -26,6 +26,8 @@ class Optionals : public cc_tools_qt_plugin::cc_demo1::Message
Optionals& operator=(const Optionals& other);
Optionals& operator=(Optionals&&);
static MsgIdParamType doGetId();
static constexpr bool hasStaticMsgId() { return true; }
static constexpr MsgIdType staticMsgId() { return static_cast<MsgIdType>(10U); }

protected:
virtual const char* nameImpl() const override;
Expand Down
2 changes: 1 addition & 1 deletion cc_tools_qt_plugin/cc_demo1/message/ScaledInts.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2tools_qt v6.3.2
// Generated by commsdsl2tools_qt v6.3.3

#include "ScaledInts.h"

Expand Down
4 changes: 3 additions & 1 deletion cc_tools_qt_plugin/cc_demo1/message/ScaledInts.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2tools_qt v6.3.2
// Generated by commsdsl2tools_qt v6.3.3

#pragma once

Expand Down Expand Up @@ -26,6 +26,8 @@ class ScaledInts : public cc_tools_qt_plugin::cc_demo1::Message
ScaledInts& operator=(const ScaledInts& other);
ScaledInts& operator=(ScaledInts&&);
static MsgIdParamType doGetId();
static constexpr bool hasStaticMsgId() { return true; }
static constexpr MsgIdType staticMsgId() { return static_cast<MsgIdType>(2U); }

protected:
virtual const char* nameImpl() const override;
Expand Down
2 changes: 1 addition & 1 deletion cc_tools_qt_plugin/cc_demo1/message/Sets.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2tools_qt v6.3.2
// Generated by commsdsl2tools_qt v6.3.3

#include "Sets.h"

Expand Down
4 changes: 3 additions & 1 deletion cc_tools_qt_plugin/cc_demo1/message/Sets.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2tools_qt v6.3.2
// Generated by commsdsl2tools_qt v6.3.3

#pragma once

Expand Down Expand Up @@ -26,6 +26,8 @@ class Sets : public cc_tools_qt_plugin::cc_demo1::Message
Sets& operator=(const Sets& other);
Sets& operator=(Sets&&);
static MsgIdParamType doGetId();
static constexpr bool hasStaticMsgId() { return true; }
static constexpr MsgIdType staticMsgId() { return static_cast<MsgIdType>(5U); }

protected:
virtual const char* nameImpl() const override;
Expand Down
2 changes: 1 addition & 1 deletion cc_tools_qt_plugin/cc_demo1/message/SimpleInts.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2tools_qt v6.3.2
// Generated by commsdsl2tools_qt v6.3.3

#include "SimpleInts.h"

Expand Down
4 changes: 3 additions & 1 deletion cc_tools_qt_plugin/cc_demo1/message/SimpleInts.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2tools_qt v6.3.2
// Generated by commsdsl2tools_qt v6.3.3

#pragma once

Expand Down Expand Up @@ -26,6 +26,8 @@ class SimpleInts : public cc_tools_qt_plugin::cc_demo1::Message
SimpleInts& operator=(const SimpleInts& other);
SimpleInts& operator=(SimpleInts&&);
static MsgIdParamType doGetId();
static constexpr bool hasStaticMsgId() { return true; }
static constexpr MsgIdType staticMsgId() { return static_cast<MsgIdType>(1U); }

protected:
virtual const char* nameImpl() const override;
Expand Down
2 changes: 1 addition & 1 deletion cc_tools_qt_plugin/cc_demo1/message/Strings.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2tools_qt v6.3.2
// Generated by commsdsl2tools_qt v6.3.3

#include "Strings.h"

Expand Down
4 changes: 3 additions & 1 deletion cc_tools_qt_plugin/cc_demo1/message/Strings.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2tools_qt v6.3.2
// Generated by commsdsl2tools_qt v6.3.3

#pragma once

Expand Down Expand Up @@ -26,6 +26,8 @@ class Strings : public cc_tools_qt_plugin::cc_demo1::Message
Strings& operator=(const Strings& other);
Strings& operator=(Strings&&);
static MsgIdParamType doGetId();
static constexpr bool hasStaticMsgId() { return true; }
static constexpr MsgIdType staticMsgId() { return static_cast<MsgIdType>(7U); }

protected:
virtual const char* nameImpl() const override;
Expand Down
2 changes: 1 addition & 1 deletion cc_tools_qt_plugin/cc_demo1/message/Variants.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2tools_qt v6.3.2
// Generated by commsdsl2tools_qt v6.3.3

#include "Variants.h"

Expand Down
4 changes: 3 additions & 1 deletion cc_tools_qt_plugin/cc_demo1/message/Variants.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2tools_qt v6.3.2
// Generated by commsdsl2tools_qt v6.3.3

#pragma once

Expand Down Expand Up @@ -26,6 +26,8 @@ class Variants : public cc_tools_qt_plugin::cc_demo1::Message
Variants& operator=(const Variants& other);
Variants& operator=(Variants&&);
static MsgIdParamType doGetId();
static constexpr bool hasStaticMsgId() { return true; }
static constexpr MsgIdType staticMsgId() { return static_cast<MsgIdType>(11U); }

protected:
virtual const char* nameImpl() const override;
Expand Down
Loading

0 comments on commit 80516b6

Please sign in to comment.