Chore/xsren/windows enterprise (#19194)
* chore/windows enterprise make install * chore/xsren/windos enterprise cotition Co-authored-by: facetosea <25808407@qq.com>
This commit is contained in:
parent
bd586814bf
commit
19e78cd540
|
@ -21,7 +21,7 @@ IF (TD_LINUX)
|
||||||
ELSEIF (TD_WINDOWS)
|
ELSEIF (TD_WINDOWS)
|
||||||
SET(TD_MAKE_INSTALL_SH "${TD_SOURCE_DIR}/packaging/tools/make_install.bat")
|
SET(TD_MAKE_INSTALL_SH "${TD_SOURCE_DIR}/packaging/tools/make_install.bat")
|
||||||
INSTALL(CODE "MESSAGE(\"make install script: ${TD_MAKE_INSTALL_SH}\")")
|
INSTALL(CODE "MESSAGE(\"make install script: ${TD_MAKE_INSTALL_SH}\")")
|
||||||
INSTALL(CODE "execute_process(COMMAND ${TD_MAKE_INSTALL_SH} :needAdmin ${TD_SOURCE_DIR} ${PROJECT_BINARY_DIR} Windows ${TD_VER_NUMBER})")
|
INSTALL(CODE "execute_process(COMMAND ${TD_MAKE_INSTALL_SH} :needAdmin ${TD_SOURCE_DIR} ${PROJECT_BINARY_DIR} Windows ${TD_VER_NUMBER} ${TD_BUILD_TAOSA_INTERNAL})")
|
||||||
ELSEIF (TD_DARWIN)
|
ELSEIF (TD_DARWIN)
|
||||||
SET(TD_MAKE_INSTALL_SH "${TD_SOURCE_DIR}/packaging/tools/make_install.sh")
|
SET(TD_MAKE_INSTALL_SH "${TD_SOURCE_DIR}/packaging/tools/make_install.sh")
|
||||||
INSTALL(CODE "MESSAGE(\"make install script: ${TD_MAKE_INSTALL_SH}\")")
|
INSTALL(CODE "MESSAGE(\"make install script: ${TD_MAKE_INSTALL_SH}\")")
|
||||||
|
|
|
@ -14,6 +14,7 @@ set binary_dir=%3
|
||||||
set binary_dir=%binary_dir:/=\\%
|
set binary_dir=%binary_dir:/=\\%
|
||||||
set osType=%4
|
set osType=%4
|
||||||
set verNumber=%5
|
set verNumber=%5
|
||||||
|
set Enterprise=%6
|
||||||
set target_dir=C:\\TDengine
|
set target_dir=C:\\TDengine
|
||||||
|
|
||||||
if not exist %target_dir% (
|
if not exist %target_dir% (
|
||||||
|
@ -57,6 +58,32 @@ if exist %binary_dir%\\build\\lib\\taosws.dll (
|
||||||
if exist %binary_dir%\\build\\bin\\taosdump.exe (
|
if exist %binary_dir%\\build\\bin\\taosdump.exe (
|
||||||
copy %binary_dir%\\build\\bin\\taosdump.exe %target_dir% > nul
|
copy %binary_dir%\\build\\bin\\taosdump.exe %target_dir% > nul
|
||||||
)
|
)
|
||||||
|
if %Enterprise% (
|
||||||
|
if exist %binary_dir%\\build\\bin\\taosx.exe (
|
||||||
|
copy %binary_dir%\\build\\bin\\taosx.exe %target_dir% > nul
|
||||||
|
)
|
||||||
|
if exist %binary_dir%\\build\\bin\\tmq_sim.exe (
|
||||||
|
copy %binary_dir%\\build\\bin\\tmq_sim.exe %target_dir% > nul
|
||||||
|
)
|
||||||
|
if exist %binary_dir%\\build\\bin\\tsim.exe (
|
||||||
|
copy %binary_dir%\\build\\bin\\tsim.exe %target_dir% > nul
|
||||||
|
)
|
||||||
|
if exist %binary_dir%\\build\\bin\\tmq_taosx_ci.exe (
|
||||||
|
copy %binary_dir%\\build\\bin\\tmq_taosx_ci.exe %target_dir% > nul
|
||||||
|
)
|
||||||
|
if exist %binary_dir%\\build\\bin\\tmq_demo.exe (
|
||||||
|
copy %binary_dir%\\build\\bin\\tmq_demo.exe %target_dir% > nul
|
||||||
|
)
|
||||||
|
if exist %binary_dir%\\build\\bin\\dumper.exe (
|
||||||
|
copy %binary_dir%\\build\\bin\\dumper.exe %target_dir% > nul
|
||||||
|
)
|
||||||
|
if exist %binary_dir%\\build\\bin\\runUdf.exe (
|
||||||
|
copy %binary_dir%\\build\\bin\\runUdf.exe %target_dir% > nul
|
||||||
|
)
|
||||||
|
if exist %binary_dir%\\build\\bin\\create_table.exe (
|
||||||
|
copy %binary_dir%\\build\\bin\\create_table.exe %target_dir% > nul
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
copy %binary_dir%\\build\\bin\\taosd.exe %target_dir% > nul
|
copy %binary_dir%\\build\\bin\\taosd.exe %target_dir% > nul
|
||||||
copy %binary_dir%\\build\\bin\\udfd.exe %target_dir% > nul
|
copy %binary_dir%\\build\\bin\\udfd.exe %target_dir% > nul
|
||||||
|
|
Loading…
Reference in New Issue