fix(build): exec output build bin.

This commit is contained in:
afwerar 2022-04-16 15:17:32 +08:00
parent 97a373fa17
commit 7dcac43433
3 changed files with 6 additions and 6 deletions

View File

@ -74,13 +74,13 @@ exec_process_dir=${projectDir}/debug/build/bin
rm -f /usr/bin/taos
rm -f /usr/bin/taosd
rm -f /usr/bin/create_table
rm -f /usr/bin/tmq_sim
rm -f /usr/bin/tmq_demo
rm -f /usr/bin/tmq_sim
ln -s $taos_dir/taos /usr/bin/taos
ln -s $taosd_dir/taosd /usr/bin/taosd
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

View File

@ -23,8 +23,8 @@ if $data04 != ready then
goto check_dnode_ready
endi
#root@trd02 /data2/dnode $ tmq_sim --help
#Used to tmq_sim
#root@trd02 /data2/dnode $ tmq_demo --help
#Used to tmq_demo
# -c Configuration directory, default is
# -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

View File

@ -1,5 +1,5 @@
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)
target_link_libraries(
create_table
@ -9,7 +9,7 @@ target_link_libraries(
PUBLIC os
)
target_link_libraries(
tmq_sim
tmq_demo
PUBLIC taos
PUBLIC util
PUBLIC common