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

add_library(qworker STATIC ${QWORKER_SRC})
D
dapan1121 已提交
4 5 6 7 8 9
target_include_directories(
    qworker
    PUBLIC "${CMAKE_SOURCE_DIR}/include/libs/qworker"
    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})