Browse Source

Added VS2015/.net 4.6 support for project files generation

pull/560/head
Eugene Belyakov 10 years ago
parent
commit
fba73be01d
  1. 1
      .gitignore
  2. 10
      build/GenerateProjects.bat
  3. 3
      build/premake4.lua
  4. BIN
      build/premake5.exe

1
.gitignore vendored

@ -33,6 +33,7 @@ src/generator/generator @@ -33,6 +33,7 @@ src/generator/generator
*.tmp
/build/vs2012
/build/vs2013
/build/vs2015
/build/gmake
/build/headers
/deps/llvm

10
build/GenerateProjects.bat

@ -7,12 +7,14 @@ echo. @@ -7,12 +7,14 @@ echo.
echo [0] Clean
echo [1] Visual C++ 2012
echo [2] Visual C++ 2013
echo [3] GNU Make
echo [3] Visual C++ 2015
echo [4] GNU Make
echo.
:choice
set /P C="Choice: "
if "%C%"=="3" goto gmake
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
@ -29,6 +31,10 @@ goto quit @@ -29,6 +31,10 @@ goto quit
"premake5" --file=premake4.lua vs2013
goto quit
:vs2015
"premake5" --file=premake4.lua vs2015
goto quit
:gmake
"premake5" --file=premake4.lua gmake
goto quit

3
build/premake4.lua

@ -21,6 +21,9 @@ solution "CppSharp" @@ -21,6 +21,9 @@ solution "CppSharp"
debugdir (bindir)
-- startproject "Generator"
configuration "vs2015"
framework "4.6"
configuration "vs2013"
framework "4.0"

BIN
build/premake5.exe

Binary file not shown.
Loading…
Cancel
Save