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