Create archive for vibe code
This commit is contained in:
+13
-6
@@ -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 .
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user