From ed6971d3c38332f9a9762d92b6cd0b259382245c Mon Sep 17 00:00:00 2001 From: Ahrimdon Date: Tue, 27 Feb 2024 01:56:17 -0500 Subject: [PATCH] Fix premake5 path in lua file & change Debug to Release in batch script --- build.bat | 2 +- premake5.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.bat b/build.bat index 987e57a..f415549 100644 --- a/build.bat +++ b/build.bat @@ -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 \ No newline at end of file diff --git a/premake5.lua b/premake5.lua index 458f008..89880f7 100644 --- a/premake5.lua +++ b/premake5.lua @@ -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"] .. "\""}