Fix premake5 path in lua file & change Debug to Release in batch script

This commit is contained in:
Ahrimdon 2024-02-27 01:56:17 -05:00
parent 86d43d737b
commit ed6971d3c3
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
@echo off
"C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\msbuild.exe" build\iw6-mod.sln /p:Configuration=Debug /p:Platform=x64
"C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\msbuild.exe" build\iw6-mod.sln /p:Configuration=Release /p:Platform=x64
pause

View File

@ -319,7 +319,7 @@ dependson {"tlsdll", "runner"}
links {"common"}
prebuildcommands {"pushd %{_MAIN_SCRIPT_DIR}", "premake5 generate-buildinfo", "popd"}
prebuildcommands {"pushd %{_MAIN_SCRIPT_DIR}", "tools\\premake5 generate-buildinfo", "popd"}
if _OPTIONS["copy-to"] then
postbuildcommands {"copy /y \"$(TargetPath)\" \"" .. _OPTIONS["copy-to"] .. "\""}