File tree 5 files changed +24
-3
lines changed
5 files changed +24
-3
lines changed Original file line number Diff line number Diff line change @@ -55,3 +55,7 @@ compile_commands.json
55
55
56
56
# temps
57
57
/version
58
+
59
+ # Bazel output paths
60
+ /bazel- *
61
+ /MODULE.bazel.lock
Original file line number Diff line number Diff line change @@ -55,12 +55,13 @@ endif()
55
55
set (CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR} /cmake" )
56
56
57
57
project (jsoncpp
58
- # Note: version must be updated in three places when doing a release. This
58
+ # Note: version must be updated in four places when doing a release. This
59
59
# annoying process ensures that amalgamate, CMake, and meson all report the
60
60
# correct version.
61
61
# 1. ./meson.build
62
62
# 2. ./include/json/version.h
63
63
# 3. ./CMakeLists.txt
64
+ # 4. ./MODULE.bazel
64
65
# IMPORTANT: also update the PROJECT_SOVERSION!!
65
66
VERSION 1.9.7 # <major>[.<minor>[.<patch>[.<tweak>]]]
66
67
LANGUAGES CXX)
Original file line number Diff line number Diff line change
1
+ module (
2
+ name = "jsoncpp" ,
3
+
4
+ # Note: version must be updated in four places when doing a release. This
5
+ # annoying process ensures that amalgamate, CMake, and meson all report the
6
+ # correct version.
7
+ # 1. /meson.build
8
+ # 2. /include/json/version.h
9
+ # 3. /CMakeLists.txt
10
+ # 4. /MODULE.bazel
11
+ # IMPORTANT: also update the SOVERSION!!
12
+ version = "1.9.7" ,
13
+ compatibility_level = 1 ,
14
+ )
Original file line number Diff line number Diff line change 1
1
#ifndef JSON_VERSION_H_INCLUDED
2
2
#define JSON_VERSION_H_INCLUDED
3
3
4
- // Note: version must be updated in three places when doing a release. This
4
+ // Note: version must be updated in four places when doing a release. This
5
5
// annoying process ensures that amalgamate, CMake, and meson all report the
6
6
// correct version.
7
7
// 1. /meson.build
8
8
// 2. /include/json/version.h
9
9
// 3. /CMakeLists.txt
10
+ // 4. /MODULE.bazel
10
11
// IMPORTANT: also update the SOVERSION!!
11
12
12
13
#define JSONCPP_VERSION_STRING "1.9.7"
Original file line number Diff line number Diff line change @@ -2,12 +2,13 @@ project(
2
2
' jsoncpp' ,
3
3
' cpp' ,
4
4
5
- # Note: version must be updated in three places when doing a release. This
5
+ # Note: version must be updated in four places when doing a release. This
6
6
# annoying process ensures that amalgamate, CMake, and meson all report the
7
7
# correct version.
8
8
# 1. /meson.build
9
9
# 2. /include/json/version.h
10
10
# 3. /CMakeLists.txt
11
+ # 4. /MODULE.bazel
11
12
# IMPORTANT: also update the SOVERSION!!
12
13
version : ' 1.9.7' ,
13
14
default_options : [
You can’t perform that action at this time.
0 commit comments