Browse Source

Bump version to 0.16

tags/json-c-0.16-20220414
Eric Haszlakiewicz 3 years ago
parent
commit
2c6358521a
2 changed files with 8 additions and 8 deletions
  1. +4
    -4
      CMakeLists.txt
  2. +4
    -4
      json_c_version.h

+ 4
- 4
CMakeLists.txt View File

@@ -10,11 +10,11 @@ endif()
if (CMAKE_VERSION VERSION_LESS 3.0)
project(json-c)
set(PROJECT_VERSION_MAJOR "0")
set(PROJECT_VERSION_MINOR "15")
set(PROJECT_VERSION_PATCH "99")
set(PROJECT_VERSION_MINOR "16")
set(PROJECT_VERSION_PATCH "0")
set(PROJECT_VERSION "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}")
else()
project(json-c LANGUAGES C VERSION 0.15.99)
project(json-c LANGUAGES C VERSION 0.16)
endif()

# If we've got 3.0 then it's good, let's provide support. Otherwise, leave it be.
@@ -454,7 +454,7 @@ add_library(${PROJECT_NAME}
${JSON_C_HEADERS}
)
set_target_properties(${PROJECT_NAME} PROPERTIES
VERSION 5.1.0
VERSION 5.2.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


+ 4
- 4
json_c_version.h View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2012,2017 Eric Haszlakiewicz
* Copyright (c) 2012,2017-2022 Eric Haszlakiewicz
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the MIT license. See COPYING for details.
@@ -17,11 +17,11 @@ extern "C" {
#endif

#define JSON_C_MAJOR_VERSION 0
#define JSON_C_MINOR_VERSION 15
#define JSON_C_MICRO_VERSION 99
#define JSON_C_MINOR_VERSION 16
#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.15.99"
#define JSON_C_VERSION "0.16"

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


Loading…
Cancel
Save