CMakeLists.txt 382 字节
Newer Older
H
refact  
Hongze Cheng 已提交
1 2 3 4
aux_source_directory(src TQ_SRC)
add_library(tq ${TQ_SRC})
target_include_directories(
    tq
S
Shengliang Guan 已提交
5
    PUBLIC "${CMAKE_SOURCE_DIR}/include/dnode/vnode/tq"
H
refact  
Hongze Cheng 已提交
6
    PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/inc"
L
Liu Jicong 已提交
7 8 9
)

target_link_libraries(
L
Liu Jicong 已提交
10 11 12 13
    tq
    PUBLIC wal
    PUBLIC os
    PUBLIC util
L
Liu Jicong 已提交
14
    PUBLIC common
L
Liu Jicong 已提交
15
    PUBLIC transport
L
Liu Jicong 已提交
16
)
L
Liu Jicong 已提交
17 18 19 20

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