mirror of https://github.com/mono/CppSharp.git
c-sharpdotnetmonobindingsbridgecclangcpluspluscppsharpglueinteropparserparsingpinvokeswigsyntax-treevisitorsxamarinxamarin-bindings
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
783 B
45 lines
783 B
@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] Visual C++ 2017 |
|
echo [5] Visual C++ 2019 |
|
echo [6] GNU Make |
|
|
|
echo. |
|
|
|
:choice |
|
set /P C="Choice: " |
|
if "%C%"=="6" goto gmake |
|
if "%C%"=="5" goto vs2019 |
|
if "%C%"=="4" goto vs2017 |
|
if "%C%"=="3" goto vs2015 |
|
if "%C%"=="2" goto vs2013 |
|
if "%C%"=="1" goto vs2012 |
|
if "%C%"=="0" goto clean |
|
|
|
:clean |
|
"premake5" --netcore=true --file=premake5.lua clean |
|
goto quit |
|
|
|
:vs2017 |
|
"premake5" --netcore=true --file=premake5.lua vs2017 |
|
goto quit |
|
|
|
:vs2019 |
|
"premake5" --netcore=true --file=premake5.lua vs2019 |
|
goto quit |
|
|
|
:gmake |
|
"premake5" --netcore=true --file=premake5.lua gmake |
|
goto quit |
|
|
|
:quit |
|
pause |
|
:end |