Skip to content

Commit 393762f

Browse files
committed
Release v2.9
2 parents 9556aa4 + 70390bd commit 393762f

72 files changed

Lines changed: 79 additions & 74 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CMakeLists.txt

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ project ("cc_mqtt5_cc_tools_qt_plugin")
44
# Build options:
55
option (OPT_WARN_AS_ERR "Treat warnings as errors" ON)
66
option (OPT_USE_CCACHE "Use ccache" OFF)
7+
option (OPT_WITH_DEFAULT_SANITIZERS "Build with sanitizers" OFF)
78
option (OPT_INSTALL_DEFAULT_CONFIG "Install default plugin configuration" ON)
89

910
# Configuration variables:
@@ -45,6 +46,10 @@ if (OPT_USE_CCACHE)
4546
endif()
4647
endif()
4748

49+
if (OPT_WITH_DEFAULT_SANITIZERS)
50+
list(APPEND extra_opts DEFAULT_SANITIZERS)
51+
endif()
52+
4853
include(${LibComms_DIR}/CC_Compile.cmake)
4954
cc_compile(${extra_opts})
5055
cc_msvc_force_warn_opt(/W4)
@@ -97,7 +102,7 @@ function (cc_plugin_core)
97102
target_compile_options(${name} PRIVATE
98103
$<$<CXX_COMPILER_ID:MSVC>:/bigobj /wd4127 /wd5054>
99104
$<$<CXX_COMPILER_ID:GNU>:-ftemplate-depth=2048 -fconstexpr-depth=4096 -Wno-unused-local-typedefs>
100-
$<$<CXX_COMPILER_ID:Clang>:-ftemplate-depth=2048 -fconstexpr-depth=4096 -Wno-unused-local-typedefs>
105+
$<$<CXX_COMPILER_ID:Clang>:-ftemplate-depth=2048 -fconstexpr-depth=4096 -fbracket-depth=2048 -Wno-unused-local-typedefs>
101106
)
102107

103108
endfunction()
@@ -142,7 +147,7 @@ function (cc_plugin protocol has_config_widget)
142147
target_compile_options(${name} PRIVATE
143148
$<$<CXX_COMPILER_ID:MSVC>:/bigobj /wd4127 /wd5054>
144149
$<$<CXX_COMPILER_ID:GNU>:-ftemplate-depth=2048 -fconstexpr-depth=4096>
145-
$<$<CXX_COMPILER_ID:Clang>:-ftemplate-depth=2048 -fconstexpr-depth=4096>
150+
$<$<CXX_COMPILER_ID:Clang>:-ftemplate-depth=2048 -fconstexpr-depth=4096 -fbracket-depth=2048>
146151
)
147152

148153
install (

cc_tools_qt_plugin/cc_mqtt5/Message.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Generated by commsdsl2tools_qt v6.3.3
1+
// Generated by commsdsl2tools_qt v6.3.4
22

33
#include "Message.h"
44

cc_tools_qt_plugin/cc_mqtt5/Message.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Generated by commsdsl2tools_qt v6.3.3
1+
// Generated by commsdsl2tools_qt v6.3.4
22

33
#pragma once
44

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
// Generated by commsdsl2tools_qt v6.3.3
1+
// Generated by commsdsl2tools_qt v6.3.4
22

33
#pragma once
44

55
#include "cc_tools_qt/version.h"
66

7-
static_assert(CC_TOOLS_QT_MAKE_VERSION(5, 3, 1) <= cc_tools_qt::version(),
7+
static_assert(CC_TOOLS_QT_MAKE_VERSION(5, 3, 3) <= cc_tools_qt::version(),
88
"The version of cc_tools_qt library is too old");

cc_tools_qt_plugin/cc_mqtt5/factory/AllMessagesDynMemMsgFactory.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Generated by commsdsl2tools_qt v6.3.3
1+
// Generated by commsdsl2tools_qt v6.3.4
22

33
#include "cc_mqtt5/MsgId.h"
44
#include "cc_tools_qt_plugin/cc_mqtt5/factory/AllMessagesDynMemMsgFactory.h"

cc_tools_qt_plugin/cc_mqtt5/factory/AllMessagesDynMemMsgFactory.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Generated by commsdsl2tools_qt v6.3.3
1+
// Generated by commsdsl2tools_qt v6.3.4
22

33
#pragma once
44

cc_tools_qt_plugin/cc_mqtt5/field/BinData.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Generated by commsdsl2tools_qt v6.3.3
1+
// Generated by commsdsl2tools_qt v6.3.4
22

33
#include "BinData.h"
44

cc_tools_qt_plugin/cc_mqtt5/field/BinData.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Generated by commsdsl2tools_qt v6.3.3
1+
// Generated by commsdsl2tools_qt v6.3.4
22

33
#pragma once
44

cc_tools_qt_plugin/cc_mqtt5/field/EnableEnum.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Generated by commsdsl2tools_qt v6.3.3
1+
// Generated by commsdsl2tools_qt v6.3.4
22

33
#include "EnableEnum.h"
44

cc_tools_qt_plugin/cc_mqtt5/field/EnableEnum.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Generated by commsdsl2tools_qt v6.3.3
1+
// Generated by commsdsl2tools_qt v6.3.4
22

33
#pragma once
44

0 commit comments

Comments
 (0)