CMakeLists.txt 386 字节
Newer Older
H
Hongze Cheng 已提交
1 2 3 4 5 6
aux_source_directory(src PLANNER_SRC)
add_library(planner ${PLANNER_SRC})
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
H
Haojun Liao 已提交
11
    PRIVATE os util catalog cjson parser transport function qcom
H
Haojun Liao 已提交
12 13
)

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