Create bat for test exe
This commit is contained in:
13
cmake/templates/exe.bat.in
Normal file
13
cmake/templates/exe.bat.in
Normal file
@@ -0,0 +1,13 @@
|
||||
@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
|
||||
Reference in New Issue
Block a user