Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
cc3c6124
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看板
提交
cc3c6124
编写于
7月 09, 2021
作者:
haoranc
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'master' of github.com:taosdata/TDengine into release/ver-2.0.20.9
上级
1e021fd2
a9d577d0
变更
61
隐藏空白更改
内联
并排
Showing
61 changed file
with
91 addition
and
67 deletion
+91
-67
CMakeLists.txt
CMakeLists.txt
+6
-1
cmake/define.inc
cmake/define.inc
+6
-2
cmake/env.inc
cmake/env.inc
+1
-1
cmake/input.inc
cmake/input.inc
+1
-1
cmake/platform.inc
cmake/platform.inc
+5
-1
cmake/version.inc
cmake/version.inc
+1
-1
deps/CMakeLists.txt
deps/CMakeLists.txt
+7
-4
deps/MQTT-C/CMakeLists.txt
deps/MQTT-C/CMakeLists.txt
+1
-1
deps/MsvcLibX/CMakeLists.txt
deps/MsvcLibX/CMakeLists.txt
+6
-1
deps/iconv/CMakeLists.txt
deps/iconv/CMakeLists.txt
+1
-1
deps/lua/CMakeLists.txt
deps/lua/CMakeLists.txt
+3
-0
deps/pthread/CMakeLists.txt
deps/pthread/CMakeLists.txt
+1
-1
deps/regex/CMakeLists.txt
deps/regex/CMakeLists.txt
+1
-1
deps/wepoll/CMakeLists.txt
deps/wepoll/CMakeLists.txt
+1
-1
deps/zlib-1.2.11/CMakeLists.txt
deps/zlib-1.2.11/CMakeLists.txt
+1
-1
src/CMakeLists.txt
src/CMakeLists.txt
+1
-1
src/balance/CMakeLists.txt
src/balance/CMakeLists.txt
+1
-1
src/client/CMakeLists.txt
src/client/CMakeLists.txt
+1
-1
src/client/tests/CMakeLists.txt
src/client/tests/CMakeLists.txt
+1
-1
src/common/CMakeLists.txt
src/common/CMakeLists.txt
+1
-1
src/connector/jdbc/CMakeLists.txt
src/connector/jdbc/CMakeLists.txt
+1
-1
src/connector/odbc/CMakeLists.txt
src/connector/odbc/CMakeLists.txt
+3
-3
src/connector/odbc/src/CMakeLists.txt
src/connector/odbc/src/CMakeLists.txt
+1
-1
src/connector/odbc/src/base/CMakeLists.txt
src/connector/odbc/src/base/CMakeLists.txt
+1
-1
src/cq/CMakeLists.txt
src/cq/CMakeLists.txt
+1
-1
src/cq/test/CMakeLists.txt
src/cq/test/CMakeLists.txt
+1
-1
src/dnode/CMakeLists.txt
src/dnode/CMakeLists.txt
+1
-1
src/kit/CMakeLists.txt
src/kit/CMakeLists.txt
+1
-1
src/kit/shell/CMakeLists.txt
src/kit/shell/CMakeLists.txt
+1
-1
src/kit/taosdemo/CMakeLists.txt
src/kit/taosdemo/CMakeLists.txt
+1
-1
src/kit/taosdemo/taosdemo.c
src/kit/taosdemo/taosdemo.c
+2
-2
src/kit/taosdump/CMakeLists.txt
src/kit/taosdump/CMakeLists.txt
+1
-1
src/mnode/CMakeLists.txt
src/mnode/CMakeLists.txt
+1
-1
src/os/CMakeLists.txt
src/os/CMakeLists.txt
+1
-1
src/os/inc/os.h
src/os/inc/os.h
+1
-1
src/os/src/alpine/CMakeLists.txt
src/os/src/alpine/CMakeLists.txt
+1
-1
src/os/src/darwin/CMakeLists.txt
src/os/src/darwin/CMakeLists.txt
+1
-1
src/os/src/detail/CMakeLists.txt
src/os/src/detail/CMakeLists.txt
+1
-1
src/os/src/linux/CMakeLists.txt
src/os/src/linux/CMakeLists.txt
+1
-1
src/os/src/windows/CMakeLists.txt
src/os/src/windows/CMakeLists.txt
+1
-1
src/os/tests/CMakeLists.txt
src/os/tests/CMakeLists.txt
+1
-1
src/plugins/CMakeLists.txt
src/plugins/CMakeLists.txt
+1
-1
src/plugins/http/CMakeLists.txt
src/plugins/http/CMakeLists.txt
+1
-1
src/plugins/monitor/CMakeLists.txt
src/plugins/monitor/CMakeLists.txt
+1
-1
src/plugins/mqtt/CMakeLists.txt
src/plugins/mqtt/CMakeLists.txt
+1
-1
src/query/CMakeLists.txt
src/query/CMakeLists.txt
+1
-1
src/query/tests/CMakeLists.txt
src/query/tests/CMakeLists.txt
+1
-1
src/rpc/CMakeLists.txt
src/rpc/CMakeLists.txt
+1
-1
src/rpc/test/CMakeLists.txt
src/rpc/test/CMakeLists.txt
+1
-1
src/sync/CMakeLists.txt
src/sync/CMakeLists.txt
+1
-1
src/sync/test/CMakeLists.txt
src/sync/test/CMakeLists.txt
+1
-1
src/tfs/CMakeLists.txt
src/tfs/CMakeLists.txt
+1
-1
src/tsdb/CMakeLists.txt
src/tsdb/CMakeLists.txt
+1
-1
src/util/CMakeLists.txt
src/util/CMakeLists.txt
+1
-1
src/util/tests/CMakeLists.txt
src/util/tests/CMakeLists.txt
+1
-1
src/vnode/CMakeLists.txt
src/vnode/CMakeLists.txt
+1
-1
src/wal/CMakeLists.txt
src/wal/CMakeLists.txt
+1
-1
src/wal/test/CMakeLists.txt
src/wal/test/CMakeLists.txt
+1
-1
tests/CMakeLists.txt
tests/CMakeLists.txt
+1
-1
tests/comparisonTest/tdengine/CMakeLists.txt
tests/comparisonTest/tdengine/CMakeLists.txt
+1
-1
tests/test/c/CMakeLists.txt
tests/test/c/CMakeLists.txt
+1
-1
未找到文件。
CMakeLists.txt
浏览文件 @
cc3c6124
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
IF
(
CMAKE_VERSION VERSION_LESS 3.0
)
PROJECT
(
TDengine CXX
)
SET
(
PROJECT_VERSION_MAJOR
"
${
LIB_MAJOR_VERSION
}
"
)
...
...
@@ -10,6 +9,12 @@ ELSE ()
PROJECT
(
TDengine VERSION
"
${
LIB_VERSION_STRING
}
"
LANGUAGES CXX
)
ENDIF
()
IF
(
${
CMAKE_SYSTEM_NAME
}
MATCHES
"Darwin"
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8...3.20
)
ELSE
()
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
ENDIF
()
SET
(
TD_ACCOUNT FALSE
)
SET
(
TD_ADMIN FALSE
)
SET
(
TD_GRANT FALSE
)
...
...
cmake/define.inc
浏览文件 @
cc3c6124
CMAKE_MINIMUM_REQUIRED
(
VERSION
2.8
)
CMAKE_MINIMUM_REQUIRED
(
VERSION
2.8
...3.20
)
PROJECT
(
TDengine
)
IF
(
TD_ACCOUNT
)
...
...
@@ -147,7 +147,11 @@ IF (TD_DARWIN_64)
ADD_DEFINITIONS
(
-
D_REENTRANT
-
D__USE_POSIX
-
D_LIBC_REENTRANT
)
ADD_DEFINITIONS
(
-
DUSE_LIBICONV
)
MESSAGE
(
STATUS
"darwin64 is defined"
)
SET
(
COMMON_FLAGS
"-Wall -Werror -Wno-missing-braces -fPIC -msse4.2 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILE"
)
IF
(
"${CPUTYPE}"
STREQUAL
"apple_m1"
)
SET
(
COMMON_FLAGS
"-Wall -Werror -Wno-missing-braces -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILE"
)
ELSE
()
SET
(
COMMON_FLAGS
"-Wall -Werror -Wno-missing-braces -fPIC -msse4.2 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILE"
)
ENDIF
()
IF
(
TD_MEMORY_SANITIZER
)
SET
(
DEBUG_FLAGS
"-fsanitize=address -fsanitize=undefined -fno-sanitize-recover=all -fsanitize=float-divide-by-zero -fsanitize=float-cast-overflow -fno-sanitize=null -fno-sanitize=alignment -O0 -g3 -DDEBUG"
)
ELSE
()
...
...
cmake/env.inc
浏览文件 @
cc3c6124
CMAKE_MINIMUM_REQUIRED
(
VERSION
2.8
)
CMAKE_MINIMUM_REQUIRED
(
VERSION
2.8
...3.20
)
PROJECT
(
TDengine
)
SET
(
CMAKE_C_STANDARD
11
)
...
...
cmake/input.inc
浏览文件 @
cc3c6124
CMAKE_MINIMUM_REQUIRED
(
VERSION
2.8
)
CMAKE_MINIMUM_REQUIRED
(
VERSION
2.8
...3.20
)
PROJECT
(
TDengine
)
IF
(
$
{
ACCOUNT
}
MATCHES
"true"
)
...
...
cmake/platform.inc
浏览文件 @
cc3c6124
CMAKE_MINIMUM_REQUIRED
(
VERSION
2.8
)
CMAKE_MINIMUM_REQUIRED
(
VERSION
2.8
...3.20
)
PROJECT
(
TDengine
)
#
...
...
@@ -108,6 +108,10 @@ IF ("${CPUTYPE}" STREQUAL "")
SET
(
TD_LINUX
TRUE
)
SET
(
TD_LINUX_64
FALSE
)
SET
(
TD_MIPS_64
TRUE
)
ELSEIF
(
CMAKE_SYSTEM_PROCESSOR
MATCHES
"arm64"
)
SET
(
CPUTYPE
"apple_m1"
)
MESSAGE
(
STATUS
"Set CPUTYPE to apple silicon m1"
)
SET
(
TD_ARM_64
TRUE
)
ENDIF
()
ELSE
()
...
...
cmake/version.inc
浏览文件 @
cc3c6124
CMAKE_MINIMUM_REQUIRED
(
VERSION
2.8
)
CMAKE_MINIMUM_REQUIRED
(
VERSION
2.8
...3.20
)
PROJECT
(
TDengine
)
IF
(
DEFINED
VERNUMBER
)
...
...
deps/CMakeLists.txt
浏览文件 @
cc3c6124
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
PROJECT
(
TDengine
)
IF
(
${
CMAKE_SYSTEM_NAME
}
MATCHES
"Darwin"
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8...3.20
)
ELSE
()
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
ENDIF
()
ADD_SUBDIRECTORY
(
zlib-1.2.11
)
ADD_SUBDIRECTORY
(
pthread
)
ADD_SUBDIRECTORY
(
regex
)
...
...
@@ -11,9 +16,7 @@ ADD_SUBDIRECTORY(wepoll)
ADD_SUBDIRECTORY
(
MsvcLibX
)
ADD_SUBDIRECTORY
(
rmonotonic
)
IF
(
TD_LINUX_64
)
ADD_SUBDIRECTORY
(
lua
)
ENDIF
()
ADD_SUBDIRECTORY
(
lua
)
IF
(
TD_LINUX AND TD_MQTT
)
ADD_SUBDIRECTORY
(
MQTT-C
)
...
...
deps/MQTT-C/CMakeLists.txt
浏览文件 @
cc3c6124
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
...3.20
)
# MQTT-C build options
option
(
MQTT_C_OpenSSL_SUPPORT
"Build MQTT-C with OpenSSL support?"
OFF
)
...
...
deps/MsvcLibX/CMakeLists.txt
浏览文件 @
cc3c6124
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
PROJECT
(
TDengine
)
IF
(
${
CMAKE_SYSTEM_NAME
}
MATCHES
"Darwin"
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8...3.20
)
ELSE
()
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
ENDIF
()
IF
(
TD_WINDOWS
)
INCLUDE_DIRECTORIES
(
include
)
AUX_SOURCE_DIRECTORY
(
src SRC
)
...
...
deps/iconv/CMakeLists.txt
浏览文件 @
cc3c6124
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
...3.20
)
PROJECT
(
TDengine
)
IF
(
TD_WINDOWS
)
...
...
deps/lua/CMakeLists.txt
浏览文件 @
cc3c6124
...
...
@@ -2,3 +2,6 @@ AUX_SOURCE_DIRECTORY(${CMAKE_CURRENT_SOURCE_DIR}/src SOURCE_LIST)
ADD_LIBRARY
(
lua
${
SOURCE_LIST
}
)
TARGET_INCLUDE_DIRECTORIES
(
lua PUBLIC
${
CMAKE_CURRENT_SOURCE_DIR
}
/inc
)
SET_SOURCE_FILES_PROPERTIES
(
./src/lgc.c PROPERTIES COMPILE_FLAGS -w
)
SET_SOURCE_FILES_PROPERTIES
(
./src/ltable.c PROPERTIES COMPILE_FLAGS -w
)
SET_SOURCE_FILES_PROPERTIES
(
./src/loslib.c PROPERTIES COMPILE_FLAGS -w
)
deps/pthread/CMakeLists.txt
浏览文件 @
cc3c6124
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
...3.20
)
PROJECT
(
TDengine
)
IF
(
TD_WINDOWS
)
...
...
deps/regex/CMakeLists.txt
浏览文件 @
cc3c6124
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
...3.20
)
PROJECT
(
TDengine
)
IF
(
TD_WINDOWS
)
...
...
deps/wepoll/CMakeLists.txt
浏览文件 @
cc3c6124
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
...3.20
)
PROJECT
(
TDengine
)
IF
(
TD_WINDOWS
)
...
...
deps/zlib-1.2.11/CMakeLists.txt
浏览文件 @
cc3c6124
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
...3.20
)
PROJECT
(
TDengine
)
IF
(
TD_WINDOWS
)
...
...
src/CMakeLists.txt
浏览文件 @
cc3c6124
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
...3.20
)
PROJECT
(
TDengine
)
# Base compile
...
...
src/balance/CMakeLists.txt
浏览文件 @
cc3c6124
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
...3.20
)
PROJECT
(
TDengine
)
INCLUDE_DIRECTORIES
(
${
TD_COMMUNITY_DIR
}
/src/mnode/inc
)
...
...
src/client/CMakeLists.txt
浏览文件 @
cc3c6124
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
...3.20
)
PROJECT
(
TDengine
)
INCLUDE_DIRECTORIES
(
inc
)
...
...
src/client/tests/CMakeLists.txt
浏览文件 @
cc3c6124
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
...3.20
)
PROJECT
(
TDengine
)
FIND_PATH
(
HEADER_GTEST_INCLUDE_DIR gtest.h /usr/include/gtest /usr/local/include/gtest
)
...
...
src/common/CMakeLists.txt
浏览文件 @
cc3c6124
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
...3.20
)
PROJECT
(
TDengine
)
INCLUDE_DIRECTORIES
(
inc
)
...
...
src/connector/jdbc/CMakeLists.txt
浏览文件 @
cc3c6124
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
...3.20
)
PROJECT
(
TDengine
)
...
...
src/connector/odbc/CMakeLists.txt
浏览文件 @
cc3c6124
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
...3.20
)
PROJECT
(
TDengine
)
IF
(
TD_LINUX_64
)
...
...
@@ -20,8 +20,8 @@ IF (TD_LINUX_64)
if
(
CMAKE_C_COMPILER_ID STREQUAL
"GNU"
AND CMAKE_C_COMPILER_VERSION VERSION_LESS 5.0.0
)
message
(
WARNING
"gcc 4.8.0 will complain too much about flex-generated code, we just bypass building ODBC driver in such case"
)
else
()
SET
(
CMAKE_C_FLAGS_DEBUG
"
${
CMAKE_C_FLAGS_DEBUG
}
-Wconversion
"
)
SET
(
CMAKE_C_FLAGS_RELEASE
"
${
CMAKE_C_FLAGS_RELEASE
}
-Wconversion
"
)
SET
(
CMAKE_C_FLAGS_DEBUG
"
${
CMAKE_C_FLAGS_DEBUG
}
"
)
SET
(
CMAKE_C_FLAGS_RELEASE
"
${
CMAKE_C_FLAGS_RELEASE
}
"
)
ADD_SUBDIRECTORY
(
src
)
ADD_SUBDIRECTORY
(
tools
)
ADD_SUBDIRECTORY
(
examples
)
...
...
src/connector/odbc/src/CMakeLists.txt
浏览文件 @
cc3c6124
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
...3.20
)
PROJECT
(
TDengine
)
add_subdirectory
(
base
)
...
...
src/connector/odbc/src/base/CMakeLists.txt
浏览文件 @
cc3c6124
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
...3.20
)
PROJECT
(
TDengine
)
aux_source_directory
(
. SRC
)
...
...
src/cq/CMakeLists.txt
浏览文件 @
cc3c6124
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
...3.20
)
PROJECT
(
TDengine
)
INCLUDE_DIRECTORIES
(
inc
)
...
...
src/cq/test/CMakeLists.txt
浏览文件 @
cc3c6124
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
...3.20
)
PROJECT
(
TDengine
)
LIST
(
APPEND CQTEST_SRC ./cqtest.c
)
...
...
src/dnode/CMakeLists.txt
浏览文件 @
cc3c6124
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
...3.20
)
PROJECT
(
TDengine
)
INCLUDE_DIRECTORIES
(
${
TD_COMMUNITY_DIR
}
/src/query/inc
)
...
...
src/kit/CMakeLists.txt
浏览文件 @
cc3c6124
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
...3.20
)
PROJECT
(
TDengine
)
ADD_SUBDIRECTORY
(
shell
)
...
...
src/kit/shell/CMakeLists.txt
浏览文件 @
cc3c6124
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
...3.20
)
PROJECT
(
TDengine
)
INCLUDE_DIRECTORIES
(
${
TD_COMMUNITY_DIR
}
/src/client/inc
)
...
...
src/kit/taosdemo/CMakeLists.txt
浏览文件 @
cc3c6124
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
...3.20
)
PROJECT
(
TDengine
)
INCLUDE_DIRECTORIES
(
${
TD_COMMUNITY_DIR
}
/src/client/inc
)
...
...
src/kit/taosdemo/taosdemo.c
浏览文件 @
cc3c6124
...
...
@@ -5104,13 +5104,13 @@ static int32_t generateStbDataTail(
}
else
{
lenOfRow
=
getRowDataFromSample
(
data
,
remainderBufLen
<
MAX_DATA_SIZE
?
remainderBufLen
:
MAX_DATA_SIZE
,
(
remainderBufLen
<
MAX_DATA_SIZE
)
?
remainderBufLen
:
MAX_DATA_SIZE
,
startTime
+
superTblInfo
->
timeStampStep
*
k
,
superTblInfo
,
pSamplePos
);
}
if
(
lenOfRow
>
remainderBufLen
)
{
if
(
(
lenOfRow
+
1
)
>
remainderBufLen
)
{
break
;
}
...
...
src/kit/taosdump/CMakeLists.txt
浏览文件 @
cc3c6124
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
...3.20
)
PROJECT
(
TDengine
)
INCLUDE_DIRECTORIES
(
${
TD_COMMUNITY_DIR
}
/src/client/inc
)
...
...
src/mnode/CMakeLists.txt
浏览文件 @
cc3c6124
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
...3.20
)
PROJECT
(
TDengine
)
INCLUDE_DIRECTORIES
(
${
TD_COMMUNITY_DIR
}
/src/query/inc
)
...
...
src/os/CMakeLists.txt
浏览文件 @
cc3c6124
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
...3.20
)
PROJECT
(
TDengine
)
IF
(
TD_LINUX
)
...
...
src/os/inc/os.h
浏览文件 @
cc3c6124
...
...
@@ -24,7 +24,7 @@ extern "C" {
#include "osDarwin.h"
#endif
#if
def _TD_ARM_64
#if
defined(_TD_ARM_64) && defined(_TD_LINUX)
#include "osArm64.h"
#endif
...
...
src/os/src/alpine/CMakeLists.txt
浏览文件 @
cc3c6124
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
...3.20
)
PROJECT
(
TDengine
)
AUX_SOURCE_DIRECTORY
(
. SRC
)
...
...
src/os/src/darwin/CMakeLists.txt
浏览文件 @
cc3c6124
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
...3.20
)
PROJECT
(
TDengine
)
AUX_SOURCE_DIRECTORY
(
. SRC
)
...
...
src/os/src/detail/CMakeLists.txt
浏览文件 @
cc3c6124
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
...3.20
)
PROJECT
(
TDengine
)
INCLUDE_DIRECTORIES
(
.
)
...
...
src/os/src/linux/CMakeLists.txt
浏览文件 @
cc3c6124
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
...3.20
)
PROJECT
(
TDengine
)
AUX_SOURCE_DIRECTORY
(
. SRC
)
...
...
src/os/src/windows/CMakeLists.txt
浏览文件 @
cc3c6124
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
...3.20
)
PROJECT
(
TDengine
)
AUX_SOURCE_DIRECTORY
(
. SRC
)
...
...
src/os/tests/CMakeLists.txt
浏览文件 @
cc3c6124
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
...3.20
)
PROJECT
(
TDengine
)
FIND_PATH
(
HEADER_GTEST_INCLUDE_DIR gtest.h /usr/include/gtest /usr/local/include/gtest
)
...
...
src/plugins/CMakeLists.txt
浏览文件 @
cc3c6124
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
...3.20
)
PROJECT
(
TDengine
)
ADD_SUBDIRECTORY
(
monitor
)
...
...
src/plugins/http/CMakeLists.txt
浏览文件 @
cc3c6124
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
...3.20
)
PROJECT
(
TDengine
)
INCLUDE_DIRECTORIES
(
${
TD_COMMUNITY_DIR
}
/deps/zlib-1.2.11/inc
)
...
...
src/plugins/monitor/CMakeLists.txt
浏览文件 @
cc3c6124
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
...3.20
)
PROJECT
(
TDengine
)
INCLUDE_DIRECTORIES
(
inc
)
...
...
src/plugins/mqtt/CMakeLists.txt
浏览文件 @
cc3c6124
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
...3.20
)
PROJECT
(
TDengine
)
INCLUDE_DIRECTORIES
(
inc
)
...
...
src/query/CMakeLists.txt
浏览文件 @
cc3c6124
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
...3.20
)
PROJECT
(
TDengine
)
INCLUDE_DIRECTORIES
(
${
TD_COMMUNITY_DIR
}
/src/tsdb/inc
)
...
...
src/query/tests/CMakeLists.txt
浏览文件 @
cc3c6124
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
...3.20
)
PROJECT
(
TDengine
)
FIND_PATH
(
HEADER_GTEST_INCLUDE_DIR gtest.h /usr/include/gtest /usr/local/include/gtest
)
...
...
src/rpc/CMakeLists.txt
浏览文件 @
cc3c6124
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
...3.20
)
PROJECT
(
TDengine
)
INCLUDE_DIRECTORIES
(
inc
)
...
...
src/rpc/test/CMakeLists.txt
浏览文件 @
cc3c6124
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
...3.20
)
PROJECT
(
TDengine
)
INCLUDE_DIRECTORIES
(
${
TD_COMMUNITY_DIR
}
/src/rpc/inc
)
...
...
src/sync/CMakeLists.txt
浏览文件 @
cc3c6124
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
...3.20
)
PROJECT
(
TDengine
)
INCLUDE_DIRECTORIES
(
inc
)
...
...
src/sync/test/CMakeLists.txt
浏览文件 @
cc3c6124
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
...3.20
)
PROJECT
(
TDengine
)
IF
(
TD_LINUX
)
...
...
src/tfs/CMakeLists.txt
浏览文件 @
cc3c6124
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
...3.20
)
PROJECT
(
TDengine
)
INCLUDE_DIRECTORIES
(
inc
)
...
...
src/tsdb/CMakeLists.txt
浏览文件 @
cc3c6124
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
...3.20
)
PROJECT
(
TDengine
)
INCLUDE_DIRECTORIES
(
inc
)
...
...
src/util/CMakeLists.txt
浏览文件 @
cc3c6124
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
...3.20
)
PROJECT
(
TDengine
)
INCLUDE_DIRECTORIES
(
${
TD_COMMUNITY_DIR
}
/src/rpc/inc
)
...
...
src/util/tests/CMakeLists.txt
浏览文件 @
cc3c6124
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
...3.20
)
PROJECT
(
TDengine
)
FIND_PATH
(
HEADER_GTEST_INCLUDE_DIR gtest.h /usr/include/gtest /usr/local/include/gtest
)
...
...
src/vnode/CMakeLists.txt
浏览文件 @
cc3c6124
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
...3.20
)
PROJECT
(
TDengine
)
INCLUDE_DIRECTORIES
(
${
TD_COMMUNITY_DIR
}
/deps/cJson/inc
)
...
...
src/wal/CMakeLists.txt
浏览文件 @
cc3c6124
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
...3.20
)
PROJECT
(
TDengine
)
ADD_DEFINITIONS
(
-DWAL_CHECKSUM_WHOLE
)
...
...
src/wal/test/CMakeLists.txt
浏览文件 @
cc3c6124
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
...3.20
)
PROJECT
(
TDengine
)
IF
(
TD_LINUX
)
...
...
tests/CMakeLists.txt
浏览文件 @
cc3c6124
...
...
@@ -3,7 +3,7 @@
# generate release version:
# mkdir release; cd release; cmake -DCMAKE_BUILD_TYPE=Release ..
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
...3.20
)
PROJECT
(
TDengine
)
SET
(
CMAKE_C_STANDARD 11
)
...
...
tests/comparisonTest/tdengine/CMakeLists.txt
浏览文件 @
cc3c6124
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
...3.20
)
PROJECT
(
TDengine
)
IF
(
TD_LINUX
)
...
...
tests/test/c/CMakeLists.txt
浏览文件 @
cc3c6124
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
...3.20
)
PROJECT
(
TDengine
)
INCLUDE_DIRECTORIES
(
${
TD_COMMUNITY_DIR
}
/src/inc
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录