MYNT-EYE-S-SDK/cmake/templates/exe.bat.in
2018-06-07 21:40:41 +08:00

14 lines
240 B
Batchfile

@echo off
set "MY_DIR=%~dp0"
set "MY_PWD=%cd%"
if "%MY_PATH_SET_@__exe_name@%"=="" (
set "MY_PATH_SET_@__exe_name@=1"
set "PATH=@__dll_search_paths@;%PATH%"
)
::cd "%MY_DIR%"
"%MY_DIR%@__exe_name@.exe" %*
::cd "%MY_PWD%"
::pause >nul