Fix premake5 path in lua file & change Debug to Release in batch script
This commit is contained in:
parent
86d43d737b
commit
ed6971d3c3
@ -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
|
@ -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"] .. "\""}
|
||||
|
Loading…
Reference in New Issue
Block a user