This commit is contained in:
Nishi 2026-05-07 20:30:52 +09:00
commit 1eb90f4df8
Signed by: nishi
GPG key ID: 27EF69B208EB9343
2 changed files with 14 additions and 0 deletions

1
.gitignore vendored
View file

@ -1,2 +1,3 @@
*.a
*.o
/build

13
CMakeLists.txt Normal file
View file

@ -0,0 +1,13 @@
cmake_minimum_required(VERSION 3.25)
project(dectalkmini)
file(GLOB_RECURSE SOURCES src/**.c)
add_library(ppr STATIC ${SOURCES})
target_include_directories(ppr PUBLIC include)
if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
target_link_libraries(ppr PUBLIC ws2_32)
else()
target_link_libraries(ppr PUBLIC pthread)
endif()