Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
241f1732
T
TDengine
项目概览
taosdata
/
TDengine
1 年多 前同步成功
通知
1185
Star
22016
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看板
提交
241f1732
编写于
8月 05, 2020
作者:
S
Shengliang Guan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
TD-1057
上级
f956c90b
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
10 addition
and
18 deletion
+10
-18
deps/CMakeLists.txt
deps/CMakeLists.txt
+1
-1
deps/zlib-1.2.11/CMakeLists.txt
deps/zlib-1.2.11/CMakeLists.txt
+2
-2
src/util/CMakeLists.txt
src/util/CMakeLists.txt
+1
-1
tests/examples/c/CMakeLists.txt
tests/examples/c/CMakeLists.txt
+5
-13
tests/test/c/CMakeLists.txt
tests/test/c/CMakeLists.txt
+1
-1
未找到文件。
deps/CMakeLists.txt
浏览文件 @
241f1732
...
@@ -10,6 +10,6 @@ ADD_SUBDIRECTORY(cJson)
...
@@ -10,6 +10,6 @@ ADD_SUBDIRECTORY(cJson)
ADD_SUBDIRECTORY
(
wepoll
)
ADD_SUBDIRECTORY
(
wepoll
)
#ADD_SUBDIRECTORY(MsvcLibX)
#ADD_SUBDIRECTORY(MsvcLibX)
IF
(
NOT TD_WINDOWS
)
IF
(
TD_LINUX
)
ADD_SUBDIRECTORY
(
MQTT-C
)
ADD_SUBDIRECTORY
(
MQTT-C
)
ENDIF
()
ENDIF
()
\ No newline at end of file
deps/zlib-1.2.11/CMakeLists.txt
浏览文件 @
241f1732
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
PROJECT
(
TDengine
)
PROJECT
(
TDengine
)
IF
(
TD_LINUX
_64 OR TD_WINDOWS
)
IF
(
TD_LINUX
)
INCLUDE_DIRECTORIES
(
inc
)
INCLUDE_DIRECTORIES
(
inc
)
AUX_SOURCE_DIRECTORY
(
src SRC
)
AUX_SOURCE_DIRECTORY
(
src SRC
)
ADD_LIBRARY
(
z
${
SRC
}
)
ADD_LIBRARY
(
z
${
SRC
}
)
ENDIF
()
ENDIF
()
\ No newline at end of file
src/util/CMakeLists.txt
浏览文件 @
241f1732
...
@@ -24,7 +24,7 @@ IF (TD_LINUX)
...
@@ -24,7 +24,7 @@ IF (TD_LINUX)
ENDIF
()
ENDIF
()
ELSEIF
(
TD_WINDOWS
)
ELSEIF
(
TD_WINDOWS
)
TARGET_LINK_LIBRARIES
(
tutil iconv regex pthread osdetail winmm IPHLPAPI ws2_32 lz4
)
TARGET_LINK_LIBRARIES
(
tutil iconv regex pthread osdetail winmm IPHLPAPI ws2_32 lz4
wepoll
)
ELSEIF
(
TD_DARWIN
)
ELSEIF
(
TD_DARWIN
)
TARGET_LINK_LIBRARIES
(
tutil iconv pthread osdetail lz4
)
TARGET_LINK_LIBRARIES
(
tutil iconv pthread osdetail lz4
)
ENDIF
()
ENDIF
()
tests/examples/c/CMakeLists.txt
浏览文件 @
241f1732
PROJECT
(
TDengine
)
PROJECT
(
TDengine
)
IF
(
TD_WINDOWS_64
)
IF
(
TD_LINUX
)
INCLUDE_DIRECTORIES
(
${
TD_COMMUNITY_DIR
}
/deps/pthread
)
INCLUDE_DIRECTORIES
(
.
${
TD_COMMUNITY_DIR
}
/src/inc
${
TD_COMMUNITY_DIR
}
/src/client/inc
${
TD_COMMUNITY_DIR
}
/inc
)
AUX_SOURCE_DIRECTORY
(
. SRC
)
ADD_EXECUTABLE
(
demo demo.c
)
TARGET_LINK_LIBRARIES
(
demo taos_static trpc tutil pthread
)
ENDIF
()
ENDIF
()
INCLUDE_DIRECTORIES
(
.
${
TD_COMMUNITY_DIR
}
/src/inc
${
TD_COMMUNITY_DIR
}
/src/client/inc
${
TD_COMMUNITY_DIR
}
/inc
)
AUX_SOURCE_DIRECTORY
(
. SRC
)
ADD_EXECUTABLE
(
demo demo.c
)
TARGET_LINK_LIBRARIES
(
demo taos_static trpc tutil pthread
)
tests/test/c/CMakeLists.txt
浏览文件 @
241f1732
...
@@ -6,7 +6,7 @@ INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/os/inc)
...
@@ -6,7 +6,7 @@ INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/os/inc)
INCLUDE_DIRECTORIES
(
${
TD_COMMUNITY_DIR
}
/src/util/inc
)
INCLUDE_DIRECTORIES
(
${
TD_COMMUNITY_DIR
}
/src/util/inc
)
INCLUDE_DIRECTORIES
(
${
TD_COMMUNITY_DIR
}
/src/common/inc
)
INCLUDE_DIRECTORIES
(
${
TD_COMMUNITY_DIR
}
/src/common/inc
)
IF
(
(
TD_LINUX_64
)
OR
(
TD_LINUX_32 AND TD_ARM
)
)
IF
(
TD_LINUX
)
#add_executable(insertPerTable insertPerTable.c)
#add_executable(insertPerTable insertPerTable.c)
#target_link_libraries(insertPerTable taos_static pthread)
#target_link_libraries(insertPerTable taos_static pthread)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录