Merge pull request #404 from tvandijck/fix-nmake-vs2015

add macro to bootstrap to override the visual studio version.
This commit is contained in:
Tom van Dijck 2016-01-17 13:47:43 -08:00
commit 1068d0a6ba

View File

@ -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