YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
version.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT)
3 * SPDX-FileCopyrightText: 2006-2010 RobotCub Consortium
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef YARP_CONFIG_VERSION_H
8#define YARP_CONFIG_VERSION_H
9
10#define YARP_VERSION_MAJOR 3
11#define YARP_VERSION_MINOR 11
12#define YARP_VERSION_PATCH 100
13#define YARP_VERSION_TWEAK
14#define YARP_VERSION "3.11.100+20250401.4+gitb9213d601"
15#define YARP_VERSION_SHORT "3.11.100"
16
17#define YARP_VERSION_ENCODE(MAJOR, MINOR, PATCH) \
18 (((MAJOR) * 0x10000) + ((MINOR) * 0x100) + (PATCH))
19
20#define YARP_VERSION_HEX \
21 YARP_VERSION_ENCODE(YARP_VERSION_MAJOR, YARP_VERSION_MINOR, YARP_VERSION_PATCH)
22
23#define YARP_VERSION_COMPARE(OP, MAJOR, MINOR, PATCH) \
24 (YARP_VERSION_HEX OP YARP_VERSION_ENCODE((MAJOR), (MINOR), (PATCH)))
25
26#endif