CMakeLists.txt 378 字节
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

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

target_include_directories(
    sync
wafwerar's avatar
wafwerar 已提交
14
    PUBLIC "${TD_SOURCE_DIR}/include/libs/sync"
S
Shengliang Guan 已提交
15
    PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/inc"
M
Minghao Li 已提交
16 17 18 19 20
)

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