Skip to content

Commit

Permalink
Merge pull request #639 from nta/bootstrap-msbuild
Browse files Browse the repository at this point in the history
Add MSBuild target to Bootstrap.mak
  • Loading branch information
tvandijck authored Jan 20, 2017
2 parents a1056a5 + f069ff7 commit dfcabc1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Bootstrap.mak
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,15 @@ linux: $(SRC)
./build/bootstrap/premake_bootstrap --to=build/bootstrap gmake
$(MAKE) -C build/bootstrap -j`getconf _NPROCESSORS_ONLN`

windows: $(SRC)
windows-base: $(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 $(MSDEV)

windows: windows-base
devenv .\build\bootstrap\Premake5.sln /Upgrade
devenv .\build\bootstrap\Premake5.sln /Build Release

windows-msbuild: windows-base
msbuild /p:Configuration=Release .\build\bootstrap\Premake5.sln

0 comments on commit dfcabc1

Please sign in to comment.