From 0146d7473aff685983289bc25186f0bbd25e830b Mon Sep 17 00:00:00 2001 From: Tom van Dijck Date: Sun, 17 Jan 2016 13:39:48 -0800 Subject: [PATCH] add macro to bootstrap to override the visual studio version. --- Bootstrap.mak | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Bootstrap.mak b/Bootstrap.mak index 246a4808..deefd5bc 100644 --- a/Bootstrap.mak +++ b/Bootstrap.mak @@ -1,3 +1,4 @@ +MSDEV=vs2012 LUA_DIR=src/host/lua/src SRC= src/host/*.c \ @@ -68,6 +69,6 @@ windows: $(SRC) if not exist build\bootstrap (mkdir build\bootstrap) cl /Fo.\build\bootstrap\ /Fe.\build\bootstrap\premake_bootstrap.exe /DPREMAKE_NO_BUILTIN_SCRIPTS /I"$(LUA_DIR)" user32.lib ole32.lib $** .\build\bootstrap\premake_bootstrap.exe embed - .\build\bootstrap\premake_bootstrap --to=build/bootstrap vs2012 + .\build\bootstrap\premake_bootstrap --to=build/bootstrap $(MSDEV) devenv .\build\bootstrap\Premake5.sln /Upgrade devenv .\build\bootstrap\Premake5.sln /Build Release