提交 46f33fcb 编写于 作者: H Hongze Cheng

refact

上级 3bdd41fb
......@@ -36,6 +36,10 @@ execute_process(COMMAND "${CMAKE_COMMAND}" --build .
# deps
add_subdirectory(deps)
# api
aux_source_directory(include/client API_SRC)
add_library(api INTERFACE ${API_SRC})
# src
add_subdirectory(source)
......
......@@ -2,6 +2,9 @@ aux_source_directory(src CLIENT_SRC)
add_library(taos ${CLIENT_SRC})
target_include_directories(
taos
PUBLIC "${CMAKE_SOURCE_DIR}/include/client"
PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/inc"
)
target_link_libraries(
taos
INTERFACE api
)
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册