Skip to content

Commit

Permalink
Project version 2.2.5.10
Browse files Browse the repository at this point in the history
  • Loading branch information
Danielius1922 committed Oct 24, 2023
1 parent 44b0fed commit 87f59f6
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.10)
project(iotivity-lite VERSION 2.2.5)
project(iotivity-lite VERSION 2.2.5.10)

include(GNUInstallDirs) # Installation directories for `install` command and pkgconfig file

Expand Down
56 changes: 56 additions & 0 deletions include/oc_build_info.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
/****************************************************************************
*
* Copyright (c) 2023 plgd.dev s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License"),
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
***************************************************************************/

/**
* @file Library and OCF version information.
*/
#ifndef OC_BUILD_INFO_H
#define OC_BUILD_INFO_H

/**
* The version number x.y.z is split into three parts.
* Major, Minor, Patchlevel, Build
*/
#define IOTIVITY_LITE_VERSION_MAJOR 2
#define IOTIVITY_LITE_VERSION_MINOR 2
#define IOTIVITY_LITE_VERSION_PATCH 5
#define IOTIVITY_LITE_VERSION_BUILD 10

/**
* The IoTivity-lite version number has the following structure:
* MMNNPPBB
* Major version | Minor version | Patch version | Build version
*/
#define IOTIVITY_LITE_VERSION 0x0202050A
#define IOTIVITY_LITE_VERSION_STRING "2.2.5.10"

/** OCF Specification */

#define OCF_SPECIFICATION_VERSION_MAJOR 2
#define OCF_SPECIFICATION_VERSION_MINOR 2
#define OCF_SPECIFICATION_VERSION_PATCH 5

/**
* The OCF Specification version number has the following format:
* MMNNPP00
* Major version | Minor version | Patch version
*/
#define OCF_SPECIFICATION_VERSION 0x02020500
#define OCF_SPECIFICATION_VERSION_STRING "2.2.5"

#endif /* OC_BUILD_INFO_H */

0 comments on commit 87f59f6

Please sign in to comment.