CMakeLists.txt 432 字节
Newer Older
1
aux_source_directory(src SCHEDULER_SRC)
S
monitor  
Shengliang Guan 已提交
2
add_library(scheduler STATIC ${SCHEDULER_SRC})
3 4 5 6 7 8 9 10 11

target_include_directories(
        scheduler
        PUBLIC "${CMAKE_SOURCE_DIR}/include/libs/scheduler"
        PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/inc"
)

target_link_libraries(
        scheduler
D
dapan1121 已提交
12
        PUBLIC os util nodes planner qcom common catalog transport command
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})