CMakeLists.txt 394 字节
Newer Older
S
Shengliang Guan 已提交
1
aux_source_directory(src MNODE_SRC)
S
monitor  
Shengliang Guan 已提交
2
add_library(mnode STATIC ${MNODE_SRC})
S
Shengliang Guan 已提交
3 4 5
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
)
target_link_libraries(
9
    mnode scheduler sdb wal transport cjson sync monitor executor qworker stream parser
10 11 12 13
)

if(${BUILD_TEST})
    add_subdirectory(test)
L
Liu Jicong 已提交
14
endif(${BUILD_TEST})