mirror of
https://github.com/json-c/json-c.git
synced 2026-04-11 00:09:06 +08:00
Bump version to 0.17
This commit is contained in:
@@ -10,7 +10,7 @@ cmake_policy(SET CMP0048 NEW)
|
|||||||
|
|
||||||
# JSON-C library is C only project.
|
# JSON-C library is C only project.
|
||||||
# PROJECT_VERSION{,_MAJOR,_MINOR,_PATCH} set by project():
|
# PROJECT_VERSION{,_MAJOR,_MINOR,_PATCH} set by project():
|
||||||
project(json-c LANGUAGES C VERSION 0.16.99)
|
project(json-c LANGUAGES C VERSION 0.17)
|
||||||
|
|
||||||
# Targets may not link directly to themselves.
|
# Targets may not link directly to themselves.
|
||||||
cmake_policy(SET CMP0038 NEW)
|
cmake_policy(SET CMP0038 NEW)
|
||||||
@@ -472,7 +472,7 @@ add_library(${PROJECT_NAME}
|
|||||||
${JSON_C_HEADERS}
|
${JSON_C_HEADERS}
|
||||||
)
|
)
|
||||||
set_target_properties(${PROJECT_NAME} PROPERTIES
|
set_target_properties(${PROJECT_NAME} PROPERTIES
|
||||||
VERSION 5.2.0
|
VERSION 5.3.0
|
||||||
SOVERSION 5)
|
SOVERSION 5)
|
||||||
list(APPEND CMAKE_TARGETS ${PROJECT_NAME})
|
list(APPEND CMAKE_TARGETS ${PROJECT_NAME})
|
||||||
# If json-c is used as subroject it set to target correct interface -I flags and allow
|
# If json-c is used as subroject it set to target correct interface -I flags and allow
|
||||||
|
|||||||
@@ -17,11 +17,11 @@ extern "C" {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define JSON_C_MAJOR_VERSION 0
|
#define JSON_C_MAJOR_VERSION 0
|
||||||
#define JSON_C_MINOR_VERSION 16
|
#define JSON_C_MINOR_VERSION 17
|
||||||
#define JSON_C_MICRO_VERSION 99
|
#define JSON_C_MICRO_VERSION 0
|
||||||
#define JSON_C_VERSION_NUM \
|
#define JSON_C_VERSION_NUM \
|
||||||
((JSON_C_MAJOR_VERSION << 16) | (JSON_C_MINOR_VERSION << 8) | JSON_C_MICRO_VERSION)
|
((JSON_C_MAJOR_VERSION << 16) | (JSON_C_MINOR_VERSION << 8) | JSON_C_MICRO_VERSION)
|
||||||
#define JSON_C_VERSION "0.16.99"
|
#define JSON_C_VERSION "0.17"
|
||||||
|
|
||||||
#ifndef JSON_EXPORT
|
#ifndef JSON_EXPORT
|
||||||
#if defined(_MSC_VER) && defined(JSON_C_DLL)
|
#if defined(_MSC_VER) && defined(JSON_C_DLL)
|
||||||
|
|||||||
Reference in New Issue
Block a user