CMakeLists.txt 390 字节
Newer Older
D
dapan1121 已提交
1
aux_source_directory(src QWORKER_SRC)
2 3

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

10
target_link_libraries(qworker
X
Xiaoyu Wang 已提交
11
        PRIVATE os util transport nodes planner qcom executor
12
        )
D
dapan1121 已提交
13

H
refact  
Hongze Cheng 已提交
14 15 16
if(${BUILD_TEST})
    ADD_SUBDIRECTORY(test)
endif(${BUILD_TEST})