Skip to content

Commit 1bb022e

Browse files
authored
[ylt]Add version (#670)
1 parent 9c2588b commit 1bb022e

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cmake_minimum_required(VERSION 3.15)
22
project(yaLanTingLibs
3-
VERSION 0.3.1
3+
VERSION 0.3.2
44
DESCRIPTION "yaLanTingLibs"
55
HOMEPAGE_URL "https://github.com/alibaba/yalantinglibs"
66
LANGUAGES CXX

include/ylt/version.hpp

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
/*
2+
* Copyright (c) 2024, Alibaba Group Holding Limited;
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
#pragma once
17+
18+
// Note: Update the version when release a new version.
19+
20+
// YLT_VERSION % 100 is the sub-minor version
21+
// YLT_VERSION / 100 % 1000 is the minor version
22+
// YLT_VERSION / 100000 is the major version
23+
#define YLT_VERSION 302 // 0.3.2

0 commit comments

Comments
 (0)