CMakeLists.txt 402 字节
Newer Older
1 2 3 4
aux_source_directory(src COMMAND_SRC)
add_library(command STATIC ${COMMAND_SRC})
target_include_directories(
        command
wafwerar's avatar
wafwerar 已提交
5
        PUBLIC "${TD_SOURCE_DIR}/include/libs/command"
6 7 8 9 10 11 12 13 14 15 16
        PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/inc"
)

target_link_libraries(
        command
        PRIVATE os util nodes catalog function transport qcom
)

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