Browse Source

Bump version to 0.18

tags/json-c-0.18-20240915
Eric Haszlakiewicz 1 year ago
parent
commit
afdca3ab5e
2 changed files with 5 additions and 5 deletions
  1. +2
    -2
      CMakeLists.txt
  2. +3
    -3
      json_c_version.h

+ 2
- 2
CMakeLists.txt View File

@@ -7,7 +7,7 @@ cmake_minimum_required(VERSION 3.9...3.12)

# JSON-C library is C only project.
# PROJECT_VERSION{,_MAJOR,_MINOR,_PATCH} set by project():
project(json-c LANGUAGES C VERSION 0.17.99)
project(json-c LANGUAGES C VERSION 0.18)

# set default build type if not specified by user
if(NOT CMAKE_BUILD_TYPE)
@@ -470,7 +470,7 @@ add_library(${PROJECT_NAME}
${JSON_C_HEADERS}
)
set_target_properties(${PROJECT_NAME} PROPERTIES
VERSION 5.3.0
VERSION 5.4.0
SOVERSION 5)
list(APPEND CMAKE_TARGETS ${PROJECT_NAME})
# If json-c is used as subroject it set to target correct interface -I flags and allow


+ 3
- 3
json_c_version.h View File

@@ -17,11 +17,11 @@ extern "C" {
#endif

#define JSON_C_MAJOR_VERSION 0
#define JSON_C_MINOR_VERSION 17
#define JSON_C_MICRO_VERSION 99
#define JSON_C_MINOR_VERSION 18
#define JSON_C_MICRO_VERSION 0
#define JSON_C_VERSION_NUM \
((JSON_C_MAJOR_VERSION << 16) | (JSON_C_MINOR_VERSION << 8) | JSON_C_MICRO_VERSION)
#define JSON_C_VERSION "0.17.99"
#define JSON_C_VERSION "0.18"

#ifndef JSON_EXPORT
#if defined(_MSC_VER) && defined(JSON_C_DLL)


Loading…
Cancel
Save