improve run cmd
parent
6998920b35
commit
0a009e4ef9
4
MAKE.bat
4
MAKE.bat
|
@ -831,6 +831,9 @@ if not "!other!"=="" (
|
|||
)
|
||||
|
||||
if "!run!"=="yes" (
|
||||
if "!rc!"=="1" (
|
||||
echo build failed. skipping run!
|
||||
) else (
|
||||
set exename=hello.exe
|
||||
if not "!other!"=="" (
|
||||
for /f "tokens=*" %%a in ("!other!") do set exename=%%~na.exe
|
||||
|
@ -838,6 +841,7 @@ if "!run!"=="yes" (
|
|||
echo run !exename! !run_args!
|
||||
!exename! !run_args! || set rc=1
|
||||
)
|
||||
)
|
||||
|
||||
rem PAUSE only if double-clicked from Windows explorer
|
||||
(((echo.%cmdcmdline%)|%WINDIR%\system32\find.exe /I "%~0")>nul)&&pause
|
||||
|
|
|
@ -12,7 +12,6 @@ int main() {
|
|||
window_title(__FILE__);
|
||||
|
||||
camera_t cam = camera();
|
||||
|
||||
vec3 route[] = {
|
||||
vec3(0.0f, 0.0f, 5.0f),
|
||||
vec3(0.0f, 0.0f, 10.0f),
|
||||
|
|
Loading…
Reference in New Issue