diff --git a/build/GenerateProjects.bat b/build/GenerateProjects.bat index c7ca8174..d479d5c0 100644 --- a/build/GenerateProjects.bat +++ b/build/GenerateProjects.bat @@ -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 "premake5" --file=premake4.lua vs2012 goto quit +:vs2013 +"premake5" --file=premake4.lua vs2013 +goto quit + :gmake "premake5" --file=premake4.lua gmake goto quit diff --git a/build/premake4.lua b/build/premake4.lua index d6a303c4..5a0e6588 100644 --- a/build/premake4.lua +++ b/build/premake4.lua @@ -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" debugdir (bindir) -- startproject "Generator" - + configuration "vs2013" + framework "4.0" configuration "vs2012" framework "4.0"