CMakeLists.txt 343 字节
Newer Older
S
Shengliang Guan 已提交
1
aux_source_directory(src SNODE_SRC)
S
monitor  
Shengliang Guan 已提交
2
add_library(snode STATIC ${SNODE_SRC})
S
Shengliang Guan 已提交
3 4 5 6 7 8 9
target_include_directories(
    snode
    PUBLIC "${CMAKE_SOURCE_DIR}/include/dnode/snode"
    private "${CMAKE_CURRENT_SOURCE_DIR}/inc"
)
target_link_libraries(
    snode
L
Liu Jicong 已提交
10
    PRIVATE executor
S
Shengliang Guan 已提交
11 12 13 14
    PRIVATE transport
    PRIVATE os
    PRIVATE common
    PRIVATE util
L
Liu Jicong 已提交
15
)