CMakeLists.txt 381 字节
Newer Older
S
Shengliang Guan 已提交
1
aux_source_directory(src SYNC_SRC)
S
monitor  
Shengliang Guan 已提交
2
add_library(sync STATIC ${SYNC_SRC})
S
Shengliang Guan 已提交
3 4 5 6 7 8 9 10 11 12 13 14 15

target_link_libraries(
    sync
    PUBLIC common
    PUBLIC transport
    PUBLIC util
    PUBLIC wal
)

target_include_directories(
    sync
    PUBLIC "${CMAKE_SOURCE_DIR}/include/libs/sync"
    PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/inc"
M
Minghao Li 已提交
16 17 18 19 20
)

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