a lot of stuff tbh

This commit is contained in:
alessandrobason 2022-08-19 17:09:27 +01:00
parent d80773bb00
commit 8ddd9186b8
42 changed files with 6463 additions and 1593 deletions

View file

@ -1,16 +1,19 @@
add_library(colla STATIC
socket.c
tracelog.c
http.c
strstream.c
str.c
coroutine.c
os.c
fs.c
file.c
dir.c
dirwatch.c
cthreads.c
src/collatypes.h
src/vec.h
src/win32_slim.h
src/tracelog.h src/tracelog.c
src/str.h src/str.c
src/hashmap.h src/hashmap.c
src/utf8.h src/utf8.c
src/ini.h src/ini.c
src/strstream.h src/strstream.c
src/os.h src/os.c
src/file.h src/file.c
src/dir.h src/dir.c
src/socket.h src/socket.c
src/http.h src/http.c
src/cthreads.h src/cthreads.c
)
if(MSVC)
@ -20,4 +23,6 @@ else()
target_link_libraries(colla pthread)
target_compile_options(colla PRIVATE -Wall -Wextra -Wpedantic)
target_compile_definitions(colla PUBLIC _DEFAULT_SOURCE)
endif()
endif()
target_include_directories(colla PUBLIC src)