Skip to content

Commit b3468dc

Browse files
committed
Release 2025-01-28
2 parents d009f84 + 79f917b commit b3468dc

File tree

1,267 files changed

+5203
-2792
lines changed

Some content is hidden

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

1,267 files changed

+5203
-2792
lines changed

.github/workflows/actions_build.yml

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ name: Github Actions Build
33
on: [push]
44

55
env:
6-
COMMS_TAG: v5.2.7
7-
COMMSDSL_TAG: v6.3.4
6+
COMMS_TAG: v5.3
7+
COMMSDSL_TAG: v7.0.2
8+
WIN_BOOST_VERSION: "1.87.0"
9+
WIN_BOOST_DIR: "C:/local/boost_1_87_0"
810

911
jobs:
1012

@@ -473,8 +475,8 @@ jobs:
473475
strategy:
474476
fail-fast: false
475477
matrix:
476-
type: [Debug, Release, MinSizeRel]
477-
arch: [Win32, x64]
478+
type: [Debug, Release]
479+
arch: [x64]
478480
cpp: [11, 14, 17]
479481

480482
steps:
@@ -486,7 +488,8 @@ jobs:
486488
- name: Install Boost
487489
shell: cmd
488490
run: |
489-
choco install boost-msvc-14.2
491+
choco install boost-msvc-14.2 --version=${{env.WIN_BOOST_VERSION}}
492+
echo BOOST_DIR=${{env.WIN_BOOST_DIR}}/lib64-msvc-14.2/cmake >>%GITHUB_ENV%
490493
491494
- name: Prepare externals
492495
shell: cmd
@@ -508,8 +511,8 @@ jobs:
508511
working-directory: ${{runner.workspace}}/build
509512
run: |
510513
cmake %GITHUB_WORKSPACE% -A ${{matrix.arch}} -DCMAKE_BUILD_TYPE=${{matrix.type}} -DCMAKE_INSTALL_PREFIX=install ^
511-
-DCMAKE_PREFIX_PATH="${{runner.workspace}}/build/install" ^
512-
-DCMAKE_POLICY_DEFAULT_CMP0167=OLD -DBoost_USE_STATIC_LIBS=ON ^
514+
-DCMAKE_PREFIX_PATH="${{runner.workspace}}/build/install;${{env.BOOST_DIR}}" ^
515+
-DCMAKE_POLICY_DEFAULT_CMP0167=NEW ^
513516
-DCMAKE_CXX_STANDARD=${{matrix.cpp}} -DOPT_FORCE_EXTRA_BOOST_LIBS=ON
514517
515518
- name: Build Target
@@ -524,7 +527,7 @@ jobs:
524527
strategy:
525528
fail-fast: false
526529
matrix:
527-
type: [Debug, Release, MinSizeRel]
530+
type: [Debug, Release]
528531
arch: [x64]
529532
cpp: [11, 14, 17, 20]
530533

@@ -538,7 +541,8 @@ jobs:
538541
if: matrix.arch == 'x64'
539542
shell: cmd
540543
run: |
541-
choco install boost-msvc-14.3 --version=1.85.0
544+
choco install boost-msvc-14.3 --version=${{env.WIN_BOOST_VERSION}}
545+
echo BOOST_DIR=${{env.WIN_BOOST_DIR}}/lib64-msvc-14.3/cmake >>%GITHUB_ENV%
542546
543547
- name: Prepare externals
544548
shell: cmd
@@ -560,8 +564,8 @@ jobs:
560564
working-directory: ${{runner.workspace}}/build
561565
run: |
562566
cmake %GITHUB_WORKSPACE% -A ${{matrix.arch}} -DCMAKE_BUILD_TYPE=${{matrix.type}} -DCMAKE_INSTALL_PREFIX=install ^
563-
-DCMAKE_PREFIX_PATH="${{runner.workspace}}/build/install" ^
564-
-DCMAKE_POLICY_DEFAULT_CMP0167=OLD -DBoost_USE_STATIC_LIBS=ON ^
567+
-DCMAKE_PREFIX_PATH="${{runner.workspace}}/build/install;${{env.BOOST_DIR}}" ^
568+
-DCMAKE_POLICY_DEFAULT_CMP0167=NEW ^
565569
-DCMAKE_CXX_STANDARD=${{matrix.cpp}} -DOPT_FORCE_EXTRA_BOOST_LIBS=ON
566570
567571
- name: Build Target

CMakeLists.txt

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ option (OPT_USE_SANITIZERS "Compile with sanitizers." OFF)
1111

1212
#####################################################
1313

14-
set (MIN_COMMSDSL_VERSION "6.3.4")
14+
set (MIN_COMMSDSL_VERSION "7.0.2")
1515

1616
if ("${CMAKE_CXX_STANDARD}" STREQUAL "")
1717
set(CMAKE_CXX_STANDARD 11)
@@ -97,23 +97,14 @@ function (dsl_parse type name)
9797
string(REPLACE ";" "\n" schema_files "${DSL_PARSE_SCHEMAS}")
9898
file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/${name}/schema_files.txt "${schema_files}")
9999

100-
add_custom_target(${name}_prot_rm
101-
COMMAND ${CMAKE_COMMAND} -E remove_directory ${output_dir}
102-
)
103-
104-
add_custom_command(
105-
OUTPUT ${output_dir}
106-
DEPENDS ${DSL_PARSE_SCHEMAS} ${src_files} ${name}_prot_rm
100+
add_custom_target(${name}_dsl ALL
107101
COMMAND ${CMAKE_COMMAND} -E remove_directory ${output_dir}
108102
COMMAND ${COMMSDSL2COMMS} --warn-as-err ${multi_schema_param} ${code_input_param} "--comms-tag=${CC_COMMS_TAG}"
109-
-o ${output_dir} -i ${CMAKE_CURRENT_BINARY_DIR}/${name}/schema_files.txt
110-
)
111-
112-
add_custom_target(${name}_dsl ALL
103+
-o ${output_dir} -i ${CMAKE_CURRENT_BINARY_DIR}/${name}/schema_files.txt
113104
COMMAND ${CMAKE_COMMAND}
114105
-DGENERATED="${output_dir}/include" -DOUTPUT="${PROJECT_SOURCE_DIR}/${type}/${name}/include"
115106
-P "${PROJECT_SOURCE_DIR}/CopyGenerated.cmake"
116-
DEPENDS ${name}_prot_rm ${output_dir} "${PROJECT_SOURCE_DIR}/CopyGenerated.cmake" ${DSL_PARSE_SCHEMAS} ${src_files}
107+
DEPENDS "${PROJECT_SOURCE_DIR}/CopyGenerated.cmake" ${DSL_PARSE_SCHEMAS} ${src_files}
117108
)
118109

119110
endfunction ()

howtos/howto1/include/howto1/Interface.h

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Generated by commsdsl2comms v6.3.4
1+
// Generated by commsdsl2comms v7.0.2
22

33
/// @file
44
/// @brief Contains definition of <b>"Interface"</b> interface class.
@@ -24,12 +24,14 @@ struct InterfaceFields
2424
/// @brief Definition of <b>"Flags"</b> field.
2525
class Flags : public
2626
howto1::field::InterfaceFlags<
27-
howto1::options::DefaultOptions
27+
howto1::options::DefaultOptions,
28+
comms::option::def::HasName
2829
>
2930
{
3031
using Base =
3132
howto1::field::InterfaceFlags<
32-
howto1::options::DefaultOptions
33+
howto1::options::DefaultOptions,
34+
comms::option::def::HasName
3335
>;
3436
public:
3537
/// @brief Name of the field.

howtos/howto1/include/howto1/InterfaceCommon.h

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

33
/// @file
44
/// @brief Contains common template parameters independent functionality of

howtos/howto1/include/howto1/MsgId.h

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

33
/// @file
44
/// @brief Contains definition of message ids enumeration.

howtos/howto1/include/howto1/Version.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Generated by commsdsl2comms v6.3.4
1+
// Generated by commsdsl2comms v7.0.2
22

33
/// @file
44
/// @brief Contains protocol version definition.
@@ -22,5 +22,5 @@ inline constexpr unsigned specVersion()
2222
} // namespace howto1
2323

2424
// Generated compile time check for minimal supported version of the COMMS library
25-
static_assert(COMMS_MAKE_VERSION(5, 2, 7) <= comms::version(),
25+
static_assert(COMMS_MAKE_VERSION(5, 3, 0) <= comms::version(),
2626
"The version of COMMS library is too old");

howtos/howto1/include/howto1/dispatch/DispatchClientInputMessage.h

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

33
/// @file
44
/// @brief Contains dispatch to handling function(s) for client input input messages.

howtos/howto1/include/howto1/dispatch/DispatchMessage.h

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

33
/// @file
44
/// @brief Contains dispatch to handling function(s) for all input messages.

howtos/howto1/include/howto1/dispatch/DispatchServerInputMessage.h

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

33
/// @file
44
/// @brief Contains dispatch to handling function(s) for client input input messages.

howtos/howto1/include/howto1/factory/AllMessagesDynMemMsgFactory.h

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

33
/// @file
44
/// @brief Contains message factory with dynamic memory allocation for all the messages.

0 commit comments

Comments
 (0)