CMakeLists.txt 410 字节
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 5 6
target_include_directories(
    planner
    PUBLIC "${CMAKE_SOURCE_DIR}/include/libs/planner"
    PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/inc"
7 8 9 10
)

target_link_libraries(
    planner
X
Xiaoyu Wang 已提交
11
    PRIVATE os util nodes catalog cjson parser function qcom
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})