File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 38
38
exitevents : OFF
39
39
fuzzers : OFF
40
40
logchar : utf-8
41
+ next_abi : OFF
41
42
- name : ubuntu22-clang
42
43
os : ubuntu-22.04
43
44
cxx : clang++
50
51
exitevents : OFF
51
52
fuzzers : ON
52
53
logchar : utf-8
54
+ next_abi : OFF
53
55
- name : ubuntu24-gcc
54
56
os : ubuntu-24.04
55
57
cxx : g++
62
64
exitevents : ON
63
65
fuzzers : OFF
64
66
logchar : utf-8
67
+ next_abi : ON
65
68
- name : ubuntu24-clang
66
69
os : ubuntu-24.04
67
70
cxx : clang++
74
77
exitevents : OFF
75
78
fuzzers : ON
76
79
logchar : wchar_t
80
+ next_abi : OFF
77
81
78
82
steps :
79
83
- uses : actions/checkout@v4
@@ -113,6 +117,7 @@ jobs:
113
117
-DLOG4CXX_EVENTS_AT_EXIT=${{ matrix.exitevents }} \
114
118
-DBUILD_FUZZERS=${{ matrix.fuzzers }} \
115
119
-DLOG4CXX_CHAR=${{ matrix.logchar }} \
120
+ -DLOG4CXX_BUILD_NEXT_ABI=${{ matrix.next_abi }} \
116
121
..
117
122
cmake --build .
118
123
Original file line number Diff line number Diff line change @@ -33,10 +33,12 @@ set(LOG4CXX_NS "log4cxx" CACHE STRING "Root namespace name")
33
33
# Note that the lib version is different from the SOVERSION
34
34
# The lib version is the version of log4cxx, the SOVERSION is the ABI version
35
35
# See also: https://cmake.org/pipermail/cmake/2012-September/051904.html
36
- set (current_log4cxx_ABI_VER 15)
37
- set (next_log4cxx_ABI_VER 16)
38
- set (log4cxx_ABI_VER "${current_log4cxx_ABI_VER} " CACHE STRING "The DSO library version" )
39
- set_property (CACHE log4cxx_ABI_VER PROPERTY STRINGS "${current_log4cxx_ABI_VER} " "${next_log4cxx_ABI_VER} " )
36
+ option (LOG4CXX_BUILD_NEXT_ABI "Build code designated for the next ABI version" OFF )
37
+ if (LOG4CXX_BUILD_NEXT_ABI)
38
+ set (log4cxx_ABI_VER 16)
39
+ else ()
40
+ set (log4cxx_ABI_VER 15)
41
+ endif ()
40
42
set (LIBLOG4CXX_LIB_VERSION ${log4cxx_ABI_VER} .${log4cxx_VERSION_MINOR} .${log4cxx_VERSION_PATCH} )
41
43
set (LIBLOG4CXX_LIB_SOVERSION ${log4cxx_ABI_VER} )
42
44
# Set the 'release' version. This is the human-readable version
You can’t perform that action at this time.
0 commit comments