MYNT-EYE-S-SDK/cmake/templates/exe.bat.in

14 lines
236 B
Batchfile
Raw Permalink Normal View History

2018-04-25 06:32:54 +03:00
@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