提交 7dcac434 编写于 作者: wafwerar's avatar wafwerar

fix(build): exec output build bin.

上级 97a373fa
...@@ -74,13 +74,13 @@ exec_process_dir=${projectDir}/debug/build/bin ...@@ -74,13 +74,13 @@ exec_process_dir=${projectDir}/debug/build/bin
rm -f /usr/bin/taos rm -f /usr/bin/taos
rm -f /usr/bin/taosd rm -f /usr/bin/taosd
rm -f /usr/bin/create_table rm -f /usr/bin/create_table
rm -f /usr/bin/tmq_sim rm -f /usr/bin/tmq_demo
rm -f /usr/bin/tmq_sim rm -f /usr/bin/tmq_sim
ln -s $taos_dir/taos /usr/bin/taos ln -s $taos_dir/taos /usr/bin/taos
ln -s $taosd_dir/taosd /usr/bin/taosd ln -s $taosd_dir/taosd /usr/bin/taosd
ln -s $exec_process_dir/create_table /usr/bin/create_table ln -s $exec_process_dir/create_table /usr/bin/create_table
ln -s $exec_process_dir/tmq_sim /usr/bin/tmq_sim ln -s $exec_process_dir/tmq_demo /usr/bin/tmq_demo
ln -s $exec_process_dir/tmq_sim /usr/bin/tmq_sim ln -s $exec_process_dir/tmq_sim /usr/bin/tmq_sim
...@@ -23,8 +23,8 @@ if $data04 != ready then ...@@ -23,8 +23,8 @@ if $data04 != ready then
goto check_dnode_ready goto check_dnode_ready
endi endi
#root@trd02 /data2/dnode $ tmq_sim --help #root@trd02 /data2/dnode $ tmq_demo --help
#Used to tmq_sim #Used to tmq_demo
# -c Configuration directory, default is # -c Configuration directory, default is
# -d The name of the database to be created, default is tmqdb # -d The name of the database to be created, default is tmqdb
# -s The name of the super table to be created, default is stb # -s The name of the super table to be created, default is stb
......
add_executable(create_table create_table.c) add_executable(create_table create_table.c)
add_executable(tmq_sim tmqDemo.c) add_executable(tmq_demo tmqDemo.c)
add_executable(tmq_sim tmqSim.c) add_executable(tmq_sim tmqSim.c)
target_link_libraries( target_link_libraries(
create_table create_table
...@@ -9,7 +9,7 @@ target_link_libraries( ...@@ -9,7 +9,7 @@ target_link_libraries(
PUBLIC os PUBLIC os
) )
target_link_libraries( target_link_libraries(
tmq_sim tmq_demo
PUBLIC taos PUBLIC taos
PUBLIC util PUBLIC util
PUBLIC common PUBLIC common
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册