File tree 8 files changed +37
-11
lines changed
8 files changed +37
-11
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ project(simdjson
7
7
8
8
set (PROJECT_VERSION_MAJOR 0)
9
9
set (PROJECT_VERSION_MINOR 4)
10
- set (PROJECT_VERSION_PATCH 4 )
11
- set (SIMDJSON_LIB_VERSION "0.4.4 " CACHE STRING "simdjson library version" )
10
+ set (PROJECT_VERSION_PATCH 5 )
11
+ set (SIMDJSON_LIB_VERSION "0.4.5 " CACHE STRING "simdjson library version" )
12
12
set (SIMDJSON_LIB_SOVERSION "2" CACHE STRING "simdjson library soversion" )
13
13
set (SIMDJSON_GITHUB_REPOSITORY https://github.com/simdjson/simdjson)
14
14
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ PROJECT_NAME = simdjson
38
38
# could be handy for archiving the generated documentation or if some version
39
39
# control system is used.
40
40
41
- PROJECT_NUMBER = "0.4.4 "
41
+ PROJECT_NUMBER = "0.4.5 "
42
42
43
43
# Using the PROJECT_BRIEF tag one can provide an optional one line description
44
44
# for a project that appears at the top of each page and should give viewer a
Original file line number Diff line number Diff line change 4
4
#define SIMDJSON_SIMDJSON_VERSION_H
5
5
6
6
/* * The version of simdjson being used (major.minor.revision) */
7
- #define SIMDJSON_VERSION 0.4.4
7
+ #define SIMDJSON_VERSION 0.4.5
8
8
9
9
namespace simdjson {
10
10
enum {
19
19
/* *
20
20
* The revision (major.minor.REVISION) of simdjson being used.
21
21
*/
22
- SIMDJSON_VERSION_REVISION = 4
22
+ SIMDJSON_VERSION_REVISION = 5
23
23
};
24
24
} // namespace simdjson
25
25
Original file line number Diff line number Diff line change 1
- /* auto-generated on Tue 30 Jun 2020 09:41:13 EDT. Do not edit! */
1
+ /* auto-generated on Tue Jun 30 19:29:34 EDT 2020 . Do not edit! */
2
2
3
3
#include < iostream>
4
4
#include " simdjson.h"
Original file line number Diff line number Diff line change 1
- /* auto-generated on Tue 30 Jun 2020 09:41:13 EDT. Do not edit! */
1
+ /* auto-generated on Tue Jun 30 19:29:34 EDT 2020 . Do not edit! */
2
2
/* begin file src/simdjson.cpp */
3
3
#include "simdjson.h"
4
4
Original file line number Diff line number Diff line change 1
- /* auto-generated on Tue 30 Jun 2020 09:41:13 EDT. Do not edit! */
1
+ /* auto-generated on Tue Jun 30 19:29:34 EDT 2020 . Do not edit! */
2
2
/* begin file include/simdjson.h */
3
3
#ifndef SIMDJSON_H
4
4
#define SIMDJSON_H
@@ -2040,7 +2040,7 @@ SIMDJSON_DISABLE_UNDESIRED_WARNINGS
2040
2040
#define SIMDJSON_SIMDJSON_VERSION_H
2041
2041
2042
2042
/** The version of simdjson being used (major.minor.revision) */
2043
- #define SIMDJSON_VERSION 0.4.4
2043
+ #define SIMDJSON_VERSION 0.4.5
2044
2044
2045
2045
namespace simdjson {
2046
2046
enum {
@@ -2055,7 +2055,7 @@ enum {
2055
2055
/**
2056
2056
* The revision (major.minor.REVISION) of simdjson being used.
2057
2057
*/
2058
- SIMDJSON_VERSION_REVISION = 4
2058
+ SIMDJSON_VERSION_REVISION = 5
2059
2059
};
2060
2060
} // namespace simdjson
2061
2061
Original file line number Diff line number Diff line change @@ -78,7 +78,17 @@ if(NOT MSVC)
78
78
## We output the library at the root of the current directory where cmake is invoked
79
79
## This is handy but Visual Studio will happily ignore us
80
80
set_target_properties (simdjson PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR} )
81
- MESSAGE ( STATUS "Library output directory (does not apply to Visual Studio): " ${PROJECT_BINARY_DIR} )
81
+ MESSAGE ( STATUS "Library output directory: " ${PROJECT_BINARY_DIR} )
82
+
83
+ ############
84
+ # Please do not delete the following, our users want version numbers. See
85
+ # https://github.com/simdjson/simdjson/issues/1014
86
+ # https://github.com/simdjson/simdjson/issues/52
87
+ ###########
88
+ set_target_properties (simdjson PROPERTIES VERSION ${SIMDJSON_LIB_VERSION} SOVERSION ${SIMDJSON_LIB_SOVERSION} )
89
+ ##########
90
+ # End of the do-not-delete message.
91
+ #########
82
92
endif ()
83
93
84
94
#
Original file line number Diff line number Diff line change @@ -177,4 +177,20 @@ endif()
177
177
# target_link_libraries(singleheader simdjson simdjson-flags)
178
178
# add_test(singleheader singleheader)
179
179
180
+ if (NOT MSVC )
181
+ ######
182
+ # This tests is to guard us against ever again removing the soversion
183
+ # and version numbers from the library. See Bug
184
+ # https://github.com/simdjson/simdjson/issues/1014
185
+ #####
186
+ get_target_property (REPORTED_SIMDJSON_VERSION simdjson VERSION )
187
+ get_target_property (REPORTED_SIMDJSON_SOVERSION simdjson SOVERSION )
188
+ if (NOT ${REPORTED_SIMDJSON_VERSION} STREQUAL ${SIMDJSON_LIB_VERSION} )
189
+ message (FATAL_ERROR "The library target does not have the proper version information." )
190
+ endif ()
191
+ if (NOT ${REPORTED_SIMDJSON_SOVERSION} STREQUAL ${SIMDJSON_LIB_SOVERSION} )
192
+ message (FATAL_ERROR "The library target does not have the proper soversion information." )
193
+ endif ()
194
+ endif ()
195
+
180
196
add_subdirectory (compilation_failure_tests)
You can’t perform that action at this time.
0 commit comments