CMakeLists.txt 415 字节
Newer Older
H
refact  
Hongze Cheng 已提交
1
aux_source_directory(src CLIENT_SRC)
H
refact  
Hongze Cheng 已提交
2 3 4
add_library(taos ${CLIENT_SRC})
target_include_directories(
    taos
wafwerar's avatar
wafwerar 已提交
5
    PUBLIC "${TD_SOURCE_DIR}/include/client"
H
Haojun Liao 已提交
6
    PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/inc"
H
refact  
Hongze Cheng 已提交
7 8 9 10
)
target_link_libraries(
    taos
    INTERFACE api
11
    PRIVATE os util common transport nodes parser command planner catalog scheduler function qcom
S
Shengliang Guan 已提交
12
)
13

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