CMakeLists.txt 321 字节
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 10 11 12 13 14
target_include_directories(
    snode
    PUBLIC "${CMAKE_SOURCE_DIR}/include/dnode/snode"
    private "${CMAKE_CURRENT_SOURCE_DIR}/inc"
)
target_link_libraries(
    snode
    PRIVATE transport
    PRIVATE os
    PRIVATE common
    PRIVATE util
)