* file: small wrap over winapi for windows and stdio for posix * fs: small wrapper over stat * slice: slice macro type modified: * str and strview are now slices
18 lines
No EOL
244 B
CMake
18 lines
No EOL
244 B
CMake
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() |