aux_source_directory(src WAL_SRC)
add_library(wal ${WAL_SRC})
target_include_directories(
    wal
    PUBLIC "${CMAKE_SOURCE_DIR}/include/libs/wal"
    PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/inc"
)

target_link_libraries(
    wal
    PUBLIC cjson
    PUBLIC os
    PUBLIC util
)

if(${BUILD_TEST})
    add_subdirectory(test)
endif(${BUILD_TEST})
