Skip to content

Commit 05e2488

Browse files
committed
Upgrade GTest; Change version to 3 digits
1 parent c265fe1 commit 05e2488

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

CHANGELOG

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
#v1.0.0.1 - [10/21/2025]
1+
#v1.0.1 - [10/21/2025]
22
- Change include folder structure from include/slick_socket/ to include/slick/
33
- Change namespace from slick_socket to slick::socket
44
- Add GitHub CI workflow
55
- Fix MacOS build
66
- Fix example log macros doesn't work without format args
77
- Added socket binding (lines 165-176) - Bind to a local address before setting multicast options. This is required on some platforms like macOS for multicast senders.
88
- Fixed setsockopt calls (lines 180, 189, 203) - Changed from passing raw pointer to using reinterpret_cast<const char*>(&value). While this is technically the same thing, it's more explicit about the expected type
9-
- Fix binding multiple sockts failed on MacOS
9+
- Fix binding multiple sockts failed on MacOS
10+
- Skip multicast sending tests on GitHub CI, muticast sending is not supported.
1011

11-
#1.0.0.0 - [09/26/2025]
12+
#1.0.0 - [09/26/2025]
1213
- Initial Release

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set(CMAKE_CXX_STANDARD 20)
44
set(CMAKE_CXX_STANDARD_REQUIRED ON)
55
set(CMAKE_CXX_EXTENSIONS OFF)
66

7-
set(BUILD_VERSION 1.0.0.1)
7+
set(BUILD_VERSION 1.0.1)
88
project(slick_socket VERSION ${BUILD_VERSION} LANGUAGES C CXX)
99

1010
if (NOT CMAKE_BUILD_TYPE)

tests/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ if(NOT GTest_FOUND)
66
include(FetchContent)
77
FetchContent_Declare(
88
googletest
9-
URL https://github.com/google/googletest/archive/03597a01ee50ed33e9dfd640b249b4be3799d395.zip
9+
GIT_REPOSITORY https://github.com/google/googletest.git
10+
GIT_TAG v1.17.0
1011
)
1112
# For Windows: Prevent overriding the parent project's compiler/linker settings
1213
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)

0 commit comments

Comments
 (0)