Update version to 1.1
All checks were successful
Publish doxygen documentation to seodisparate.com / doxygen-gen-and-publish (push) Successful in 1s
Run UnitTests / build-and-run-tests (push) Successful in 2m38s

Specify "SOVERSION" for shared lib so that libUDPC.so.1 is the default
instead of libUDPC.so.1.0 .
This commit is contained in:
Stephen Seo 2024-07-13 13:44:00 +09:00
parent bc6f5cb420
commit c57320598b

View file

@ -1,7 +1,8 @@
cmake_minimum_required(VERSION 3.7)
project(UDPC)
set(UDPC_VERSION 1.0)
set(UDPC_VERSION 1.1)
set(UDPC_SOVERSION 1)
set(UDPC_SOURCES
src/UDPConnection.cpp
@ -22,7 +23,7 @@ endif()
add_library(UDPC ${UDPC_SOURCES})
set_target_properties(UDPC PROPERTIES VERSION ${UDPC_VERSION})
set_target_properties(UDPC PROPERTIES VERSION ${UDPC_VERSION} SOVERSION ${UDPC_SOVERSION})
target_compile_features(UDPC PUBLIC cxx_std_11)
target_link_libraries(UDPC PUBLIC pthread)