@echo off
goto menu

:menu
echo Build Project Generator:
echo.
echo [0] Clean
echo [1] Visual C++ 2010
echo [2] Visual C++ 2008
echo [3] CodeLite
echo [4] GNU Make
echo.

:choice
set /P C="Choice: "
if "%C%"=="4" goto gmake
if "%C%"=="3" goto codelite
if "%C%"=="2" goto vs2008
if "%C%"=="1" goto vs2010
if "%C%"=="0" goto clean

:clean
"premake4" --file=premake4.lua clean
goto quit

:vs2010
"premake4" --file=premake4.lua vs2010
goto quit

:vs2008
"premake4" --file=premake4.lua vs2008
goto quit

:codelite
"premake4" --file=premake4.lua codelite
goto quit

:gmake
"premake4" --file=premake4.lua gmake
goto quit

:quit
pause
:end
@echo off
goto menu

:menu
echo Build Project Generator:
echo.
echo [0] Clean
echo [1] Visual C++ 2010
echo [2] Visual C++ 2012
echo [3] CodeLite
echo [4] GNU Make
echo.

:choice
set /P C="Choice: "
if "%C%"=="4" goto gmake
if "%C%"=="3" goto codelite
if "%C%"=="2" goto vs2012
if "%C%"=="1" goto vs2010
if "%C%"=="0" goto clean

:clean
"premake4" --file=premake4.lua clean
goto quit

:vs2010
"premake4" --file=premake4.lua vs2010
goto quit

:vs2012
"premake4" --file=premake4.lua vs2012
goto quit

:codelite
"premake4" --file=premake4.lua codelite
goto quit

:gmake
"premake4" --file=premake4.lua gmake
goto quit

:quit
pause
:end
Update the build bat to support VS 2012.
Update the build bat to support VS 2012.
