CMakeLists.txt 411 字节
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
D
dapan 已提交
12 13
        PRIVATE os util planner qcom common catalog transport
)
D
dapan1121 已提交
14

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