CMakeLists.txt 414 字节
Newer Older
H
Hongze Cheng 已提交
1
aux_source_directory(src PLANNER_SRC)
S
monitor  
Shengliang Guan 已提交
2
add_library(planner STATIC ${PLANNER_SRC})
H
Hongze Cheng 已提交
3 4
target_include_directories(
    planner
wafwerar's avatar
wafwerar 已提交
5
    PUBLIC "${TD_SOURCE_DIR}/include/libs/planner"
H
Hongze Cheng 已提交
6
    PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/inc"
7 8 9 10
)

target_link_libraries(
    planner
11
    PRIVATE os util nodes catalog cjson parser function qcom scalar
L
Liu Jicong 已提交
12
    PUBLIC transport
H
Haojun Liao 已提交
13 14
)

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