Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ src/generator/generator
*.tmp
/build/vs2012
/build/vs2013
/build/vs2015
/build/gmake
/build/headers
/deps/llvm
Expand Down
80 changes: 43 additions & 37 deletions build/GenerateProjects.bat
Original file line number Diff line number Diff line change
@@ -1,38 +1,44 @@
@echo off
goto menu

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

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

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

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

:vs2013
"premake5" --file=premake4.lua vs2013
goto quit

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

:quit
pause
@echo off
goto menu

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

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

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

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

:vs2013
"premake5" --file=premake4.lua vs2013
goto quit

:vs2015
"premake5" --file=premake4.lua vs2015
goto quit

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

:quit
pause
:end
3 changes: 3 additions & 0 deletions build/premake4.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ solution "CppSharp"
debugdir (bindir)

-- startproject "Generator"
configuration "vs2015"
framework "4.6"

configuration "vs2013"
framework "4.0"

Expand Down
Binary file modified build/premake5.exe
Binary file not shown.