CMakeLists.txt 350 字节
Newer Older
H
refact  
Hongze Cheng 已提交
1
aux_source_directory(src META_SRC)
H
refact  
Hongze Cheng 已提交
2
add_library(meta STATIC ${META_SRC})
H
refact  
Hongze Cheng 已提交
3 4 5 6
target_include_directories(
    meta
    PUBLIC "${CMAKE_SOURCE_DIR}/include/server/vnode/meta"
    PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/inc"
H
refact  
Hongze Cheng 已提交
7 8 9 10
)
target_link_libraries(
    meta
    PUBLIC common
H
Hongze Cheng 已提交
11
    PUBLIC tkv
H
refact  
Hongze Cheng 已提交
12 13
)

H
Hongze Cheng 已提交
14 15 16
if(${BUILD_TEST})
    add_subdirectory(test)
endif(${BUILD_TEST})