added:
dir -> directory walker similar to dirent
dirwatch -> lets you watch a directory for changes in another thread
vec -> generic vector
This commit is contained in:
parent
aa08240ec9
commit
59b55c7f6c
26 changed files with 4037 additions and 2726 deletions
|
|
@ -1,18 +1,22 @@
|
|||
add_library(Colla STATIC
|
||||
socket.c
|
||||
tracelog.c
|
||||
http.c
|
||||
strstream.c
|
||||
strview.c
|
||||
str.c
|
||||
coroutine.c
|
||||
os.c
|
||||
fs.c
|
||||
file.c
|
||||
)
|
||||
|
||||
IF (WIN32)
|
||||
target_link_libraries(Colla ws2_32.lib)
|
||||
ELSE()
|
||||
# posix
|
||||
ENDIF()
|
||||
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
|
||||
)
|
||||
|
||||
if(MSVC)
|
||||
target_link_libraries(Colla ws2_32.lib)
|
||||
target_compile_options(Colla PRIVATE /W4)
|
||||
else()
|
||||
target_link_libraries(Colla pthread)
|
||||
target_compile_options(Colla PRIVATE -Wall -Wextra -Wpedantic)
|
||||
target_compile_definitions(Colla PUBLIC _DEFAULT_SOURCE)
|
||||
endif()
|
||||
Loading…
Add table
Add a link
Reference in a new issue