CMakeLists.txt 380 字节
Newer Older
D
dapan1121 已提交
1 2 3 4 5
aux_source_directory(src SCALAR_SRC)

add_library(scalar STATIC ${SCALAR_SRC})
target_include_directories(
    scalar
wafwerar's avatar
wafwerar 已提交
6
    PUBLIC "${TD_SOURCE_DIR}/include/libs/scalar"
D
dapan1121 已提交
7 8 9 10
    PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/inc"
)

target_link_libraries(scalar
11
        PRIVATE os util common nodes function qcom vnode
D
dapan1121 已提交
12 13 14 15
        )

if(${BUILD_TEST})
    ADD_SUBDIRECTORY(test)
D
dapan1121 已提交
16
endif(${BUILD_TEST})