Skip to content

Commit da8f8a9

Browse files
committed
Release v2.7
2 parents c96a5ce + 89e926d commit da8f8a9

107 files changed

Lines changed: 116 additions & 112 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: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
cmake_minimum_required (VERSION 3.10)
22
project ("cc_mqttsn_cc_tools_qt_plugin")
33

4-
# Configuration variables
4+
# Build options:
5+
option (OPT_INSTALL_DEFAULT_CONFIG "Install default plugin configuration" ON)
6+
7+
# Configuration variables:
58
# OPT_QT_MAJOR_VERSION - The major Qt version, defaults to 5
69

710
######################################################################
@@ -148,10 +151,11 @@ function (cc_plugin protocol has_config_widget)
148151
TARGETS ${name}
149152
DESTINATION ${CMAKE_INSTALL_FULL_LIBDIR}/cc_tools_qt/plugin)
150153

151-
install (
152-
FILES cc_tools_qt_plugin/cc_mqttsn/plugin/${protocol}.cfg
153-
DESTINATION ${CMAKE_INSTALL_FULL_DATAROOTDIR}/cc_tools_qt)
154-
154+
if (OPT_INSTALL_DEFAULT_CONFIG)
155+
install (
156+
FILES cc_tools_qt_plugin/cc_mqttsn/plugin/${protocol}.cfg
157+
DESTINATION ${CMAKE_INSTALL_FULL_DATAROOTDIR}/cc_tools_qt)
158+
endif()
155159
endfunction()
156160

157161
######################################################################

cc_tools_qt_plugin/cc_mqttsn/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.0
1+
// Generated by commsdsl2tools_qt v6.3.2
22

33
#include "Message.h"
44

cc_tools_qt_plugin/cc_mqttsn/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.0
1+
// Generated by commsdsl2tools_qt v6.3.2
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.0
1+
// Generated by commsdsl2tools_qt v6.3.2
22

33
#pragma once
44

55
#include "cc_tools_qt/version.h"
66

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

cc_tools_qt_plugin/cc_mqttsn/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.0
1+
// Generated by commsdsl2tools_qt v6.3.2
22

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

cc_tools_qt_plugin/cc_mqttsn/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.0
1+
// Generated by commsdsl2tools_qt v6.3.2
22

33
#pragma once
44

cc_tools_qt_plugin/cc_mqttsn/field/ClientId.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.0
1+
// Generated by commsdsl2tools_qt v6.3.2
22

33
#include "ClientId.h"
44

cc_tools_qt_plugin/cc_mqttsn/field/ClientId.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.0
1+
// Generated by commsdsl2tools_qt v6.3.2
22

33
#pragma once
44

cc_tools_qt_plugin/cc_mqttsn/field/Data.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.0
1+
// Generated by commsdsl2tools_qt v6.3.2
22

33
#include "Data.h"
44

cc_tools_qt_plugin/cc_mqttsn/field/Data.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.0
1+
// Generated by commsdsl2tools_qt v6.3.2
22

33
#pragma once
44

0 commit comments

Comments
 (0)