体验新版 GitCode,发现更多精彩内容 >>
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
PUBLIC common
)
if(${BUILD_TEST}) add_subdirectory(test) endif(${BUILD_TEST})