24#include "comms/version.h"
27#define CC_TOOLS_QT_MAJOR_VERSION 6U
30#define CC_TOOLS_QT_MINOR_VERSION 0U
33#define CC_TOOLS_QT_PATCH_VERSION 7U
36#define CC_TOOLS_QT_MAKE_VERSION(major_, minor_, patch_) \
37 ((static_cast<unsigned>(major_) << 24) | \
38 (static_cast<unsigned>(minor_) << 8) | \
39 (static_cast<unsigned>(patch_)))
42#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)
70constexpr unsigned versionCreate(
unsigned major,
unsigned minor,
unsigned patch)
82static_assert(COMMS_MAKE_VERSION(5, 5, 1) <= comms::version(),
83 "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:42
#define CC_TOOLS_QT_PATCH_VERSION
Patch level of the library.
Definition version.h:33
#define CC_TOOLS_QT_MAJOR_VERSION
Major verion of the library.
Definition version.h:27
#define CC_TOOLS_QT_MINOR_VERSION
Minor verion of the library.
Definition version.h:30
#define CC_TOOLS_QT_MAKE_VERSION(major_, minor_, patch_)
Macro to create numeric version as single unsigned number.
Definition version.h:36