CMakeLists.txt 450 字节
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 18 19 20
    PUBLIC transport
    PUBLIC meta
    PUBLIC tq
    PUBLIC tsdb
    PUBLIC wal
    PUBLIC sync
    PUBLIC cjson
)

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