CMakeLists.txt 417 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11
aux_source_directory(src SCHEDULER_SRC)
add_library(scheduler ${SCHEDULER_SRC})

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

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