Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
dea51ba3
T
TDengine
项目概览
taosdata
/
TDengine
1 年多 前同步成功
通知
1185
Star
22017
Fork
4786
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
TDengine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
dea51ba3
编写于
4月 16, 2022
作者:
wafwerar
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix(build): use static taos lib.
上级
7a795927
变更
11
展开全部
隐藏空白更改
内联
并排
Showing
11 changed file
with
574 addition
and
436 deletion
+574
-436
example/CMakeLists.txt
example/CMakeLists.txt
+3
-3
packaging/make_install.sh
packaging/make_install.sh
+540
-421
source/client/CMakeLists.txt
source/client/CMakeLists.txt
+20
-1
source/client/test/CMakeLists.txt
source/client/test/CMakeLists.txt
+2
-2
source/dnode/mgmt/interface/CMakeLists.txt
source/dnode/mgmt/interface/CMakeLists.txt
+1
-1
source/libs/catalog/test/CMakeLists.txt
source/libs/catalog/test/CMakeLists.txt
+1
-1
source/libs/executor/test/CMakeLists.txt
source/libs/executor/test/CMakeLists.txt
+1
-1
source/libs/scheduler/test/CMakeLists.txt
source/libs/scheduler/test/CMakeLists.txt
+1
-1
tests/test/c/CMakeLists.txt
tests/test/c/CMakeLists.txt
+3
-3
tests/tsim/CMakeLists.txt
tests/tsim/CMakeLists.txt
+1
-1
tools/shell/CMakeLists.txt
tools/shell/CMakeLists.txt
+1
-1
未找到文件。
example/CMakeLists.txt
浏览文件 @
dea51ba3
...
...
@@ -18,15 +18,15 @@ target_sources(demoapi
)
target_link_libraries
(
tmq
taos
taos
_static
)
target_link_libraries
(
tstream
taos
taos
_static
)
target_link_libraries
(
demoapi
taos
taos
_static
)
target_include_directories
(
tmq
...
...
packaging/make_install.sh
浏览文件 @
dea51ba3
此差异已折叠。
点击以展开。
source/client/CMakeLists.txt
浏览文件 @
dea51ba3
aux_source_directory
(
src CLIENT_SRC
)
add_library
(
taos
${
CLIENT_SRC
}
)
add_library
(
taos
SHARED
${
CLIENT_SRC
}
)
target_include_directories
(
taos
PUBLIC
"
${
TD_SOURCE_DIR
}
/include/client"
...
...
@@ -11,6 +11,25 @@ target_link_libraries(
PRIVATE os util common transport nodes parser command planner catalog scheduler function qcom
)
set_target_properties
(
taos
PROPERTIES
VERSION
${
TD_VER_NUMBER
}
SOVERSION
${
TD_VER_NUMBER
}
)
add_library
(
taos_static STATIC
${
CLIENT_SRC
}
)
target_include_directories
(
taos_static
PUBLIC
"
${
TD_SOURCE_DIR
}
/include/client"
PRIVATE
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/inc"
)
target_link_libraries
(
taos_static
INTERFACE api
PRIVATE os util common transport nodes parser command planner catalog scheduler function qcom
)
if
(
${
BUILD_TEST
}
)
ADD_SUBDIRECTORY
(
test
)
endif
(
${
BUILD_TEST
}
)
\ No newline at end of file
source/client/test/CMakeLists.txt
浏览文件 @
dea51ba3
...
...
@@ -8,13 +8,13 @@ AUX_SOURCE_DIRECTORY(${CMAKE_CURRENT_SOURCE_DIR} SOURCE_LIST)
ADD_EXECUTABLE
(
clientTest clientTests.cpp
)
TARGET_LINK_LIBRARIES
(
clientTest
PUBLIC os util common transport parser catalog scheduler function gtest taos qcom
PUBLIC os util common transport parser catalog scheduler function gtest taos
_static
qcom
)
ADD_EXECUTABLE
(
tmqTest tmqTest.cpp
)
TARGET_LINK_LIBRARIES
(
tmqTest
PUBLIC os util common transport parser catalog scheduler function gtest taos qcom
PUBLIC os util common transport parser catalog scheduler function gtest taos
_static
qcom
)
TARGET_INCLUDE_DIRECTORIES
(
...
...
source/dnode/mgmt/interface/CMakeLists.txt
浏览文件 @
dea51ba3
...
...
@@ -6,5 +6,5 @@ target_include_directories(
PUBLIC
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/inc"
)
target_link_libraries
(
dnode_interface cjson mnode vnode qnode snode bnode wal sync taos tfs monitor
dnode_interface cjson mnode vnode qnode snode bnode wal sync taos
_static
tfs monitor
)
\ No newline at end of file
source/libs/catalog/test/CMakeLists.txt
浏览文件 @
dea51ba3
...
...
@@ -8,7 +8,7 @@ AUX_SOURCE_DIRECTORY(${CMAKE_CURRENT_SOURCE_DIR} SOURCE_LIST)
ADD_EXECUTABLE
(
catalogTest
${
SOURCE_LIST
}
)
TARGET_LINK_LIBRARIES
(
catalogTest
PUBLIC os util common catalog transport gtest qcom taos
PUBLIC os util common catalog transport gtest qcom taos
_static
)
TARGET_INCLUDE_DIRECTORIES
(
...
...
source/libs/executor/test/CMakeLists.txt
浏览文件 @
dea51ba3
...
...
@@ -8,7 +8,7 @@ AUX_SOURCE_DIRECTORY(${CMAKE_CURRENT_SOURCE_DIR} SOURCE_LIST)
ADD_EXECUTABLE
(
executorTest
${
SOURCE_LIST
}
)
TARGET_LINK_LIBRARIES
(
executorTest
PRIVATE os util common transport gtest taos qcom executor function planner scalar nodes
PRIVATE os util common transport gtest taos
_static
qcom executor function planner scalar nodes
)
TARGET_INCLUDE_DIRECTORIES
(
...
...
source/libs/scheduler/test/CMakeLists.txt
浏览文件 @
dea51ba3
...
...
@@ -8,7 +8,7 @@ AUX_SOURCE_DIRECTORY(${CMAKE_CURRENT_SOURCE_DIR} SOURCE_LIST)
ADD_EXECUTABLE
(
schedulerTest
${
SOURCE_LIST
}
)
TARGET_LINK_LIBRARIES
(
schedulerTest
PUBLIC os util common catalog transport gtest qcom taos planner scheduler
PUBLIC os util common catalog transport gtest qcom taos
_static
planner scheduler
)
TARGET_INCLUDE_DIRECTORIES
(
...
...
tests/test/c/CMakeLists.txt
浏览文件 @
dea51ba3
...
...
@@ -3,21 +3,21 @@ add_executable(tmq_demo tmqDemo.c)
add_executable
(
tmq_sim tmqSim.c
)
target_link_libraries
(
create_table
PUBLIC taos
PUBLIC taos
_static
PUBLIC util
PUBLIC common
PUBLIC os
)
target_link_libraries
(
tmq_demo
PUBLIC taos
PUBLIC taos
_static
PUBLIC util
PUBLIC common
PUBLIC os
)
target_link_libraries
(
tmq_sim
PUBLIC taos
PUBLIC taos
_static
PUBLIC util
PUBLIC common
PUBLIC os
...
...
tests/tsim/CMakeLists.txt
浏览文件 @
dea51ba3
...
...
@@ -2,7 +2,7 @@ aux_source_directory(src TSIM_SRC)
add_executable
(
tsim
${
TSIM_SRC
}
)
target_link_libraries
(
tsim
PUBLIC taos
PUBLIC taos
_static
PUBLIC util
PUBLIC common
PUBLIC os
...
...
tools/shell/CMakeLists.txt
浏览文件 @
dea51ba3
...
...
@@ -3,7 +3,7 @@ aux_source_directory(src SHELL_SRC)
add_executable
(
shell
${
SHELL_SRC
}
)
target_link_libraries
(
shell
PUBLIC taos
PUBLIC taos
_static
PRIVATE os common transport util
)
target_include_directories
(
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录