Skip to content

Commit

Permalink
Release v2.9
Browse files Browse the repository at this point in the history
  • Loading branch information
arobenko committed Sep 28, 2024
2 parents 569016b + cc3fda2 commit 75427b8
Show file tree
Hide file tree
Showing 24 changed files with 31 additions and 26 deletions.
9 changes: 7 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ project ("cc_demo2_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_WITH_DEFAULT_SANITIZERS "Build with sanitizers" OFF)
option (OPT_INSTALL_DEFAULT_CONFIG "Install default plugin configuration" ON)

# Configuration variables:
Expand Down Expand Up @@ -45,6 +46,10 @@ if (OPT_USE_CCACHE)
endif()
endif()

if (OPT_WITH_DEFAULT_SANITIZERS)
list(APPEND extra_opts DEFAULT_SANITIZERS)
endif()

include(${LibComms_DIR}/CC_Compile.cmake)
cc_compile(${extra_opts})
cc_msvc_force_warn_opt(/W4)
Expand Down Expand Up @@ -72,7 +77,7 @@ function (cc_plugin_core)
target_compile_options(${name} PRIVATE
$<$<CXX_COMPILER_ID:MSVC>:/bigobj /wd4127 /wd5054>
$<$<CXX_COMPILER_ID:GNU>:-ftemplate-depth=2048 -fconstexpr-depth=4096 -Wno-unused-local-typedefs>
$<$<CXX_COMPILER_ID:Clang>:-ftemplate-depth=2048 -fconstexpr-depth=4096 -Wno-unused-local-typedefs>
$<$<CXX_COMPILER_ID:Clang>:-ftemplate-depth=2048 -fconstexpr-depth=4096 -fbracket-depth=2048 -Wno-unused-local-typedefs>
)

endfunction()
Expand Down Expand Up @@ -117,7 +122,7 @@ function (cc_plugin protocol has_config_widget)
target_compile_options(${name} PRIVATE
$<$<CXX_COMPILER_ID:MSVC>:/bigobj /wd4127 /wd5054>
$<$<CXX_COMPILER_ID:GNU>:-ftemplate-depth=2048 -fconstexpr-depth=4096>
$<$<CXX_COMPILER_ID:Clang>:-ftemplate-depth=2048 -fconstexpr-depth=4096>
$<$<CXX_COMPILER_ID:Clang>:-ftemplate-depth=2048 -fconstexpr-depth=4096 -fbracket-depth=2048>
)

install (
Expand Down
2 changes: 1 addition & 1 deletion cc_tools_qt_plugin/cc_demo2/Message.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2tools_qt v6.3.3
// Generated by commsdsl2tools_qt v6.3.4

#include "Message.h"

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

#pragma once

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

#pragma once

#include "cc_tools_qt/version.h"

static_assert(CC_TOOLS_QT_MAKE_VERSION(5, 3, 1) <= cc_tools_qt::version(),
static_assert(CC_TOOLS_QT_MAKE_VERSION(5, 3, 3) <= 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.3
// Generated by commsdsl2tools_qt v6.3.4

#include "cc_demo2/MsgId.h"
#include "cc_tools_qt_plugin/cc_demo2/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.3
// Generated by commsdsl2tools_qt v6.3.4

#pragma once

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

#include "MsgId.h"

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

#pragma once

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

#pragma once

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

#include "FrameTransportMessage.h"

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

#pragma once

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

#pragma once

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

#include "Msg1.h"

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

#pragma once

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

#include "Msg2.h"

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

#pragma once

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

/// @file
/// @brief Contains definition of the default options for plugin.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2tools_qt v6.3.3
// Generated by commsdsl2tools_qt v6.3.4

/// @file
/// @brief Contains definition of the options for framing which force usage of message factory.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2tools_qt v6.3.3
// Generated by commsdsl2tools_qt v6.3.4

#include "ConfigWidget_CC_Demo2.h"

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

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion cc_tools_qt_plugin/cc_demo2/plugin/Plugin_CC_Demo2.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2tools_qt v6.3.3
// Generated by commsdsl2tools_qt v6.3.4

#include "Plugin_CC_Demo2.h"

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

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion cc_tools_qt_plugin/cc_demo2/plugin/Protocol_CC_Demo2.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2tools_qt v6.3.3
// Generated by commsdsl2tools_qt v6.3.4

#include "Protocol_CC_Demo2.h"

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

#pragma once

Expand Down

0 comments on commit 75427b8

Please sign in to comment.