Browse Source

Updated the batch files to Premake 5.

pull/86/head
triton 12 years ago
parent
commit
1e09193cc1
  1. 26
      build/GenerateProjects.bat

26
build/GenerateProjects.bat

@ -5,32 +5,32 @@ goto menu
echo Build Project Generator: echo Build Project Generator:
echo. echo.
echo [0] Clean echo [0] Clean
echo [1] Visual C++ 2010 echo [1] Visual C++ 2010
echo [2] Visual C++ 2012 echo [2] Visual C++ 2012
echo [3] GNU Make echo [3] GNU Make
echo. echo.
:choice :choice
set /P C="Choice: " set /P C="Choice: "
if "%C%"=="3" goto gmake if "%C%"=="3" goto gmake
if "%C%"=="2" goto vs2012 if "%C%"=="2" goto vs2012
if "%C%"=="1" goto vs2010 if "%C%"=="1" goto vs2010
if "%C%"=="0" goto clean if "%C%"=="0" goto clean
:clean :clean
"premake4" --file=premake4.lua clean "premake5" --file=premake4.lua clean
goto quit
:vs2010
"premake5" --file=premake4.lua vs2010
goto quit goto quit
:vs2010
"premake4" --file=premake4.lua vs2010
goto quit
:vs2012 :vs2012
"premake4" --file=premake4.lua vs2012 "premake5" --file=premake4.lua vs2012
goto quit goto quit
:gmake :gmake
"premake4" --file=premake4.lua gmake "premake5" --file=premake4.lua gmake
goto quit goto quit
:quit :quit

Loading…
Cancel
Save