summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Haszlakiewicz <erh+git@nimenees.com>2022-04-14 01:10:39 +0000
committerEric Haszlakiewicz <erh+git@nimenees.com>2022-04-14 01:10:39 +0000
commit2c6358521adcda1a14d2446d913dfce774cecb53 (patch)
tree7a79124f8b8eb9298854ca47fe2f26a83b69cc95
parent7d303478a40e8bbb0cfd2e82ac99dc8e407cf014 (diff)
downloadjson-c-2c6358521adcda1a14d2446d913dfce774cecb53.tar.gz
Bump version to 0.16
-rw-r--r--CMakeLists.txt8
-rw-r--r--json_c_version.h8
2 files changed, 8 insertions, 8 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 98b7eda..60d7663 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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
diff --git a/json_c_version.h b/json_c_version.h
index d15ad64..1b7d531 100644
--- a/json_c_version.h
+++ b/json_c_version.h
@@ -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)