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

14 lines
240 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%"
)
2018-06-07 16:40:41 +03:00
::cd "%MY_DIR%"
2018-04-25 06:32:54 +03:00
"%MY_DIR%@__exe_name@.exe" %*
2018-06-07 16:40:41 +03:00
::cd "%MY_PWD%"
2018-04-25 06:32:54 +03:00
::pause >nul