Browse Source

Added building support for x64 and VC++ 12.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
pull/131/head
Dimitar Dobrev 12 years ago
parent
commit
64d825fcde
  1. 10
      build/GenerateProjects.bat
  2. 5
      build/premake4.lua

10
build/GenerateProjects.bat

@ -7,12 +7,14 @@ echo. @@ -7,12 +7,14 @@ echo.
echo [0] Clean
echo [1] Visual C++ 2010
echo [2] Visual C++ 2012
echo [3] GNU Make
echo [3] Visual C++ 2013
echo [4] GNU Make
echo.
:choice
set /P C="Choice: "
if "%C%"=="3" goto gmake
if "%C%"=="4" goto gmake
if "%C%"=="3" goto vs2013
if "%C%"=="2" goto vs2012
if "%C%"=="1" goto vs2010
if "%C%"=="0" goto clean
@ -29,6 +31,10 @@ goto quit @@ -29,6 +31,10 @@ goto quit
"premake5" --file=premake4.lua vs2012
goto quit
:vs2013
"premake5" --file=premake4.lua vs2013
goto quit
:gmake
"premake5" --file=premake4.lua gmake
goto quit

5
build/premake4.lua

@ -20,7 +20,7 @@ end @@ -20,7 +20,7 @@ end
solution "CppSharp"
configurations { "Debug", "Release" }
platforms { "x32" }
platforms { "x32", "x64" }
flags { common_flags }
location (builddir)
@ -30,7 +30,8 @@ solution "CppSharp" @@ -30,7 +30,8 @@ solution "CppSharp"
debugdir (bindir)
-- startproject "Generator"
configuration "vs2013"
framework "4.0"
configuration "vs2012"
framework "4.0"

Loading…
Cancel
Save