CMakeLists.txt 330 字节
Newer Older
S
Shengliang Guan 已提交
1 2 3 4 5
aux_source_directory(src MNODE_SRC)
add_library(mnode ${MNODE_SRC})
target_include_directories(
    mnode
    PUBLIC "${CMAKE_SOURCE_DIR}/include/dnode/mnode"
S
Shengliang Guan 已提交
6
    PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/inc"
S
Shengliang Guan 已提交
7 8 9
)
target_link_libraries(
    mnode
S
Shengliang Guan 已提交
10
    PRIVATE sdb
S
Shengliang Guan 已提交
11
    PRIVATE wal
S
Shengliang Guan 已提交
12 13
    PRIVATE transport
    PRIVATE cjson
S
Shengliang Guan 已提交
14
    PRIVATE sync
S
Shengliang Guan 已提交
15
)