22#include "comms/version.h"
25#define CC_TOOLS_QT_MAJOR_VERSION 5U
28#define CC_TOOLS_QT_MINOR_VERSION 3U
31#define CC_TOOLS_QT_PATCH_VERSION 3U
34#define CC_TOOLS_QT_MAKE_VERSION(major_, minor_, patch_) \
35 ((static_cast<unsigned>(major_) << 24) | \
36 (static_cast<unsigned>(minor_) << 8) | \
37 (static_cast<unsigned>(patch_)))
40#define CC_TOOLS_QT_VERSION CC_TOOLS_QT_MAKE_VERSION(CC_TOOLS_QT_MAJOR_VERSION, CC_TOOLS_QT_MINOR_VERSION, CC_TOOLS_QT_PATCH_VERSION)
68constexpr unsigned versionCreate(
unsigned major,
unsigned minor,
unsigned patch)
80static_assert(COMMS_MAKE_VERSION(5, 2, 7) <= comms::version(),
81 "The version of COMMS library is too old");
#define CC_TOOLS_QT_VERSION
Version of the COMMS library as single numeric value.
Definition version.h:40
#define CC_TOOLS_QT_PATCH_VERSION
Patch level of the library.
Definition version.h:31
#define CC_TOOLS_QT_MAJOR_VERSION
Major verion of the library.
Definition version.h:25
#define CC_TOOLS_QT_MINOR_VERSION
Minor verion of the library.
Definition version.h:28
#define CC_TOOLS_QT_MAKE_VERSION(major_, minor_, patch_)
Macro to create numeric version as single unsigned number.
Definition version.h:34