Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
937dcf00
T
TDengine
项目概览
taosdata
/
TDengine
大约 1 年 前同步成功
通知
1184
Star
22015
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看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
937dcf00
编写于
8月 15, 2023
作者:
D
dapan1121
提交者:
GitHub
8月 15, 2023
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #22430 from taosdata/fix/TD-25622-3.0x
fix: use taos_static for tmq_sim on windows
上级
f9f74eaa
8d0461e9
变更
4
显示空白变更内容
内联
并排
Showing
4 changed file
with
19 addition
and
5 deletion
+19
-5
cmake/cmake.define
cmake/cmake.define
+6
-0
tests/script/wtest.bat
tests/script/wtest.bat
+11
-3
utils/test/c/CMakeLists.txt
utils/test/c/CMakeLists.txt
+1
-1
utils/tsim/CMakeLists.txt
utils/tsim/CMakeLists.txt
+1
-1
未找到文件。
cmake/cmake.define
浏览文件 @
937dcf00
...
@@ -78,6 +78,12 @@ ELSE ()
...
@@ -78,6 +78,12 @@ ELSE ()
SET(TD_TAOS_TOOLS TRUE)
SET(TD_TAOS_TOOLS TRUE)
ENDIF ()
ENDIF ()
IF (${TD_WINDOWS})
SET(TAOS_LIB taos_static)
ELSE ()
SET(TAOS_LIB taos)
ENDIF ()
IF (TD_WINDOWS)
IF (TD_WINDOWS)
MESSAGE("${Yellow} set compiler flag for Windows! ${ColourReset}")
MESSAGE("${Yellow} set compiler flag for Windows! ${ColourReset}")
SET(COMMON_FLAGS "/w /D_WIN32 /DWIN32 /Zi /MTd")
SET(COMMON_FLAGS "/w /D_WIN32 /DWIN32 /Zi /MTd")
...
...
tests/script/wtest.bat
浏览文件 @
937dcf00
...
@@ -17,6 +17,9 @@ rem echo SIM_DIR: %SIM_DIR%
...
@@ -17,6 +17,9 @@ rem echo SIM_DIR: %SIM_DIR%
set
"TSIM_DIR=
%SIM_DIR%
tsim\"
set
"TSIM_DIR=
%SIM_DIR%
tsim\"
rem echo TSIM_DIR: %TSIM_DIR%
rem echo TSIM_DIR: %TSIM_DIR%
set
"DATA_DIR=
%TSIM_DIR%
data\"
rem echo DATA_DIR: %DATA_DIR%
set
"CFG_DIR=
%TSIM_DIR%
cfg\"
set
"CFG_DIR=
%TSIM_DIR%
cfg\"
rem echo CFG_DIR: %CFG_DIR%
rem echo CFG_DIR: %CFG_DIR%
...
@@ -30,25 +33,30 @@ if not exist %SIM_DIR% mkdir %SIM_DIR%
...
@@ -30,25 +33,30 @@ if not exist %SIM_DIR% mkdir %SIM_DIR%
if
not
exist
%TSIM_DIR%
mkdir
%TSIM_DIR%
if
not
exist
%TSIM_DIR%
mkdir
%TSIM_DIR%
if
exist
%CFG_DIR%
rmdir
/s/q
%CFG_DIR%
if
exist
%CFG_DIR%
rmdir
/s/q
%CFG_DIR%
if
exist
%LOG_DIR%
rmdir
/s/q
%LOG_DIR%
if
exist
%LOG_DIR%
rmdir
/s/q
%LOG_DIR%
if
exist
%DATA_DIR%
rmdir
/s/q
%DATA_DIR%
if
not
exist
%CFG_DIR%
mkdir
%CFG_DIR%
if
not
exist
%CFG_DIR%
mkdir
%CFG_DIR%
if
not
exist
%LOG_DIR%
mkdir
%LOG_DIR%
if
not
exist
%LOG_DIR%
mkdir
%LOG_DIR%
if
not
exist
%DATA_DIR%
mkdir
%DATA_DIR%
set
"fqdn=localhost"
set
"fqdn=localhost"
for
/f
"skip=1"
%%A
in
(
for
/f
"skip=1"
%%A
in
(
'wmic computersystem get caption'
'wmic computersystem get caption'
)
do
if
not
defined
fqdn
set
"fqdn=
%%A
"
)
do
if
not
defined
fqdn
set
"fqdn=
%%A
"
echo
firstEp
%fqdn%
>
%TAOS_CFG%
echo
firstEp
%fqdn%
:7100
>
%TAOS_CFG%
echo
secondEp
%fqdn%
:7200
>>
%TAOS_CFG%
echo
fqdn
%fqdn%
>>
%TAOS_CFG%
echo
fqdn
%fqdn%
>>
%TAOS_CFG%
echo
serverPort
7100
>>
%TAOS_CFG%
echo
serverPort
7100
>>
%TAOS_CFG%
echo
dataDir
%DATA_DIR%
>>
%TAOS_CFG%
echo
logDir
%LOG_DIR%
>>
%TAOS_CFG%
echo
logDir
%LOG_DIR%
>>
%TAOS_CFG%
echo
scriptDir
%SCRIPT_DIR%
>>
%TAOS_CFG%
echo
scriptDir
%SCRIPT_DIR%
>>
%TAOS_CFG%
echo
numOfLogLines
100000000
>>
%TAOS_CFG%
echo
numOfLogLines
100000000
>>
%TAOS_CFG%
echo
rpcDebugFlag
143
>>
%TAOS_CFG%
echo
rpcDebugFlag
143
>>
%TAOS_CFG%
echo
tmrDebugFlag
131
>>
%TAOS_CFG%
echo
tmrDebugFlag
131
>>
%TAOS_CFG%
echo
cDebugFlag
1
35
>>
%TAOS_CFG%
echo
cDebugFlag
1
43
>>
%TAOS_CFG%
echo
qDebugFlag
143
>>
%TAOS_CFG%
echo
qDebugFlag
143
>>
%TAOS_CFG%
echo
udebugFlag
135
>>
%TAOS_CFG%
echo
uDebugFlag
143
>>
%TAOS_CFG%
echo
debugFlag
143
>>
%TAOS_CFG%
echo
wal
0
>>
%TAOS_CFG%
echo
wal
0
>>
%TAOS_CFG%
echo
asyncLog
0
>>
%TAOS_CFG%
echo
asyncLog
0
>>
%TAOS_CFG%
echo
locale
en_US
.UTF
-
8
>>
%TAOS_CFG%
echo
locale
en_US
.UTF
-
8
>>
%TAOS_CFG%
...
...
utils/test/c/CMakeLists.txt
浏览文件 @
937dcf00
...
@@ -31,7 +31,7 @@ target_link_libraries(
...
@@ -31,7 +31,7 @@ target_link_libraries(
)
)
target_link_libraries
(
target_link_libraries
(
tmq_sim
tmq_sim
PUBLIC
taos
PUBLIC
${
TAOS_LIB
}
PUBLIC util
PUBLIC util
PUBLIC common
PUBLIC common
PUBLIC os
PUBLIC os
...
...
utils/tsim/CMakeLists.txt
浏览文件 @
937dcf00
...
@@ -2,7 +2,7 @@ aux_source_directory(src TSIM_SRC)
...
@@ -2,7 +2,7 @@ aux_source_directory(src TSIM_SRC)
add_executable
(
tsim
${
TSIM_SRC
}
)
add_executable
(
tsim
${
TSIM_SRC
}
)
target_link_libraries
(
target_link_libraries
(
tsim
tsim
PUBLIC
taos_static
PUBLIC
${
TAOS_LIB
}
PUBLIC util
PUBLIC util
PUBLIC common
PUBLIC common
PUBLIC os
PUBLIC os
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录