add_library(ringbuf STATIC ringbuf.c) target_include_directories(ringbuf PUBLIC ${CMAKE_CURRENT_LIST_DIR})