add macro to bootstrap to override the visual studio version.
This commit is contained in:
parent
d03ab85aa7
commit
0146d7473a
@ -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
|
||||
|
Reference in New Issue
Block a user