CMakeLists.txt 470 字节
Newer Older
H
refact  
Hongze Cheng 已提交
1 2 3 4
aux_source_directory(src VNODE_SRC)
add_library(vnode STATIC ${VNODE_SRC})
target_include_directories(
    vnode
S
Shengliang Guan 已提交
5
    PUBLIC "${CMAKE_SOURCE_DIR}/include/dnode/vnode"
H
refact  
Hongze Cheng 已提交
6 7 8 9
    private "${CMAKE_CURRENT_SOURCE_DIR}/inc"
)
target_link_libraries(
    vnode
H
save  
Hongze Cheng 已提交
10
    PUBLIC os
H
refact  
Hongze Cheng 已提交
11 12 13 14 15 16 17
    PUBLIC transport
    PUBLIC meta
    PUBLIC tq
    PUBLIC tsdb
    PUBLIC wal
    PUBLIC sync
    PUBLIC cjson
D
dapan1121 已提交
18
    PUBLIC qworker
H
refact  
Hongze Cheng 已提交
19 20 21
)

# test
H
more  
Hongze Cheng 已提交
22
if(${BUILD_TEST})
H
more  
Hongze Cheng 已提交
23
   add_subdirectory(test)
D
dapan1121 已提交
24
endif(${BUILD_TEST})