CMakeLists.txt 404 字节
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
H
Haojun Liao 已提交
5 6
    PUBLIC "${CMAKE_SOURCE_DIR}/include/client"
    PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/inc"
H
refact  
Hongze Cheng 已提交
7 8 9 10
)
target_link_libraries(
    taos
    INTERFACE api
X
Xiaoyu Wang 已提交
11
    PRIVATE os util common transport parser 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})