Skip to content

Commit 63adbb5

Browse files
committed
Update project generation scripts
1 parent 43a3ed2 commit 63adbb5

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

Scripts/GenerateProject.bat

+19-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,23 @@
11
@echo off
2-
echo ==== Generating Project ====
2+
3+
echo Generating Project
34
echo.
5+
46
pushd %~dp0\..\
5-
CALL ThirdParty\SaffronEngine2D\ThirdParty\Premake\Bin\premake5.exe vs2019
7+
8+
set "write=powershell write-host -background"
9+
set Script=ThirdParty\SaffronEngine2D\ThirdParty\Premake\Bin\premake5.exe vs2019
10+
11+
call %Script%
12+
13+
echo.
14+
15+
if %errorlevel% gtr 0 (
16+
%write% red Failed
17+
pause
18+
) else (
19+
%write% green Success
20+
timeout /t 2
21+
)
22+
623
echo.

0 commit comments

Comments
 (0)