fix(build): make "build info" compatible with Premake5 installed on the system's PATH
This commit is contained in:
parent
a1cf1c6179
commit
c0b5c769e2
@ -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"] .. "\""}
|
||||||
|
Loading…
Reference in New Issue
Block a user