CMakeLists.txt 329 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
aux_source_directory(src NODES_SRC)
add_library(nodes STATIC ${NODES_SRC})
target_include_directories(
    nodes
    PUBLIC "${CMAKE_SOURCE_DIR}/include/nodes"
    PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/inc"
)
target_link_libraries(
    nodes
    PRIVATE os util
)

if(${BUILD_TEST})
    ADD_SUBDIRECTORY(test)
endif(${BUILD_TEST})