fix(build): make "build info" compatible with Premake5 installed on the system's PATH

This commit is contained in:
Jack Back 2024-01-24 11:10:44 +00:00
parent a1cf1c6179
commit c0b5c769e2

View File

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