]> granicus.if.org Git - json-c/commitdiff
Bump version to 0.16
authorEric Haszlakiewicz <erh+git@nimenees.com>
Thu, 14 Apr 2022 01:10:39 +0000 (01:10 +0000)
committerEric Haszlakiewicz <erh+git@nimenees.com>
Thu, 14 Apr 2022 01:10:39 +0000 (01:10 +0000)
CMakeLists.txt
json_c_version.h

index 98b7eda253bd4bc8424ed0e9c370cd091c55729a..60d76639fdb0143904e1ed48d1a2a6c35b2a96d6 100644 (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
index d15ad64cb5934b19d9a24f995fcbef5c24fe1843..1b7d531a6966392ad80c92a142c435c044ed8434 100644 (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)