add_library(interval_tree STATIC interval_tree.c)
target_include_directories(interval_tree PUBLIC ${CMAKE_CURRENT_LIST_DIR})
target_include_directories(interval_tree PUBLIC ${CMAKE_SOURCE_DIR}/deps/rbtree)
target_link_libraries(interval_tree rbtree)

add_subdirectory(test)