Create archive for vibe code

This commit is contained in:
12hydrogen
2026-06-25 17:37:39 +08:00
parent 432238635b
commit 973b2e60de
5 changed files with 1043 additions and 65 deletions
+13 -6
View File
@@ -2,10 +2,10 @@ cmake_minimum_required(VERSION 3.10)
project(WinSock2Wrapper)
set(C_STANDARD 17)
set(CXX_STANDARD 17)
set(C_STANDARD_REQUIRED True)
set(CXX_STANDARD_REQUIRED True)
set(CMAKE_C_STANDARD 17)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_C_STANDARD_REQUIRED True)
set(CMAKE_CXX_STANDARD_REQUIRED True)
add_library(
wrapper
@@ -32,7 +32,14 @@ target_link_libraries(
PUBLIC wrapper
)
# ThreadPool + LockFreeQueue test (header-only, no link deps)
add_executable(
test_shift
./shift.cpp
test_pool
./test_pool.cpp
./pool.cpp
)
target_include_directories(
test_pool
PUBLIC .
)