Skip to content

Commit bd5859a

Browse files
Version 1.0.1: Add VERSION ${SNode.C_VERSION} to each library
Signed-off-by: Volker Christian <me@vchrist.at>
1 parent 6ebbb79 commit bd5859a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+198
-89
lines changed

src/apps/websocket/subprotocol/client/echo/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ set_target_properties(
7373
PROPERTIES LIBRARY_OUTPUT_DIRECTORY
7474
"${WEBSOCKET_SUBPROTOCOL_COMPILE_LIBDIR}"
7575
OUTPUT_NAME "snodec-websocket-echo-client"
76+
VERSION ${SNode.C_VERSION}
7677
SOVERSION ${SNODEC_SOVERSION} # PREFIX "ssp"
7778
INSTALL_RPATH
7879
"${CMAKE_INSTALL_PREFIX}/${HTTP_UPGRADE_INSTALL_LIBDIR}"

src/apps/websocket/subprotocol/server/echo/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ set_target_properties(
7373
PROPERTIES LIBRARY_OUTPUT_DIRECTORY
7474
"${WEBSOCKET_SUBPROTOCOL_COMPILE_LIBDIR}"
7575
OUTPUT_NAME "snodec-websocket-echo-server"
76+
VERSION ${SNode.C_VERSION}
7677
SOVERSION ${SNODEC_SOVERSION} # PREFIX "ssp"
7778
INSTALL_RPATH
7879
"${CMAKE_INSTALL_PREFIX}/${HTTP_UPGRADE_INSTALL_LIBDIR}"

src/core/CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,10 @@ target_link_libraries(
152152
)
153153

154154
set_target_properties(
155-
core PROPERTIES SOVERSION ${SNODEC_SOVERSION} OUTPUT_NAME snodec-core
155+
core
156+
PROPERTIES VERSION ${SNode.C_VERSION}
157+
SOVERSION ${SNODEC_SOVERSION}
158+
OUTPUT_NAME snodec-core
156159
)
157160

158161
install(

src/core/multiplexer/epoll/CMakeLists.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,10 @@ target_include_directories(
5252
)
5353

5454
set_target_properties(
55-
mux-epoll PROPERTIES SOVERSION ${SNODEC_SOVERSION} OUTPUT_NAME
56-
snodec-core-mux-epoll
55+
mux-epoll
56+
PROPERTIES VERSION ${SNode.C_VERSION}
57+
SOVERSION ${SNODEC_SOVERSION}
58+
OUTPUT_NAME snodec-core-mux-epoll
5759
)
5860

5961
install(

src/core/multiplexer/poll/CMakeLists.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,10 @@ target_include_directories(
5252
)
5353

5454
set_target_properties(
55-
mux-poll PROPERTIES SOVERSION ${SNODEC_SOVERSION} OUTPUT_NAME
56-
snodec-core-mux-poll
55+
mux-poll
56+
PROPERTIES VERSION ${SNode.C_VERSION}
57+
SOVERSION ${SNODEC_SOVERSION}
58+
OUTPUT_NAME snodec-core-mux-poll
5759
)
5860

5961
install(

src/core/multiplexer/select/CMakeLists.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,10 @@ target_include_directories(
5252
)
5353

5454
set_target_properties(
55-
mux-select PROPERTIES SOVERSION ${SNODEC_SOVERSION} OUTPUT_NAME
56-
snodec-core-mux-select
55+
mux-select
56+
PROPERTIES VERSION ${SNode.C_VERSION}
57+
SOVERSION ${SNODEC_SOVERSION}
58+
OUTPUT_NAME snodec-core-mux-select
5759
)
5860

5961
install(

src/core/socket/CMakeLists.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,10 @@ target_include_directories(
5454
target_link_libraries(core-socket PUBLIC core)
5555

5656
set_target_properties(
57-
core-socket PROPERTIES SOVERSION ${SNODEC_SOVERSION} OUTPUT_NAME
58-
snodec-core-socket
57+
core-socket
58+
PROPERTIES VERSION ${SNode.C_VERSION}
59+
SOVERSION ${SNODEC_SOVERSION}
60+
OUTPUT_NAME snodec-core-socket
5961
)
6062

6163
install(

src/core/socket/stream/CMakeLists.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,10 @@ target_include_directories(
7272
target_link_libraries(core-socket-stream PUBLIC core-socket)
7373

7474
set_target_properties(
75-
core-socket-stream PROPERTIES SOVERSION ${SNODEC_SOVERSION}
76-
OUTPUT_NAME snodec-core-socket-stream
75+
core-socket-stream
76+
PROPERTIES VERSION ${SNode.C_VERSION}
77+
SOVERSION ${SNODEC_SOVERSION}
78+
OUTPUT_NAME snodec-core-socket-stream
7779
)
7880

7981
install(

src/core/socket/stream/legacy/CMakeLists.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,9 @@ target_link_libraries(core-socket-stream-legacy PUBLIC core-socket-stream)
6868

6969
set_target_properties(
7070
core-socket-stream-legacy
71-
PROPERTIES SOVERSION ${SNODEC_SOVERSION} OUTPUT_NAME
72-
snodec-core-socket-stream-legacy
71+
PROPERTIES VERSION ${SNode.C_VERSION}
72+
SOVERSION ${SNODEC_SOVERSION}
73+
OUTPUT_NAME snodec-core-socket-stream-legacy
7374
)
7475

7576
install(

src/core/socket/stream/tls/CMakeLists.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,9 @@ else(NOT OpenSSL_FOUND)
8686

8787
set_target_properties(
8888
core-socket-stream-tls
89-
PROPERTIES SOVERSION ${SNODEC_SOVERSION} OUTPUT_NAME
90-
snodec-core-socket-stream-tls
89+
PROPERTIES VERSION ${SNode.C_VERSION}
90+
SOVERSION ${SNODEC_SOVERSION}
91+
OUTPUT_NAME snodec-core-socket-stream-tls
9192
)
9293

9394
install(

0 commit comments

Comments
 (0)