CMakeLists.txt 446 字节
Newer Older
1
aux_source_directory(src SCHEDULER_SRC)
S
monitor  
Shengliang Guan 已提交
2
add_library(scheduler STATIC ${SCHEDULER_SRC})
3 4 5

target_include_directories(
        scheduler
wafwerar's avatar
wafwerar 已提交
6
        PUBLIC "${TD_SOURCE_DIR}/include/libs/scheduler"
7 8 9 10 11
        PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/inc"
)

target_link_libraries(
        scheduler
D
dapan1121 已提交
12
        PUBLIC os util nodes planner qcom common catalog transport command qworker executor
D
dapan 已提交
13
)
D
dapan1121 已提交
14

H
refact  
Hongze Cheng 已提交
15 16
if(${BUILD_TEST})
    ADD_SUBDIRECTORY(test)
L
Liu Jicong 已提交
17
endif(${BUILD_TEST})