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

target_link_libraries(
   catalog
D
dapan1121 已提交
11
   PRIVATE os util transport qcom nodes
D
dapan1121 已提交
12
)
13

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