CMakeLists.txt 636 字节
Newer Older
H
Hongze Cheng 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
aux_source_directory(src/meta META_SRC)
aux_source_directory(src/tq TQ_SRC)
aux_source_directory(src/tsdb TSDB_SRC)
aux_source_directory(src/vnd VND_SRC)
list(APPEND
    VNODE_SRC
    ${META_SRC}
    ${TQ_SRC}
    ${TSDB_SRC}
    ${VND_SRC}
)

add_library(vnode STATIC ${VNODE_SRC})
target_include_directories(
    vnode
    PUBLIC inc
    PRIVATE src/inc
)
target_link_libraries(
    vnode
    PUBLIC os
    PUBLIC util
    PUBLIC common
    PUBLIC transport
    PUBLIC bdb
    PUBLIC tfs
    PUBLIC wal
L
Liu Jicong 已提交
28
    PUBLIC scheduler
29
    PUBLIC executor
H
Hongze Cheng 已提交
30 31 32 33 34 35
    PUBLIC qworker
)

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