fix(build): make "build info" compatible with Premake5 installed on the system's PATH
This commit is contained in:
1 parent
6360889cb0
commit
2deb2c340e
1 file changed
+1
-1
+1
-1
@@ -314,7 +314,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"] .. "\""}
|
||||||
|
|||||||
Reference in new issue
Block a user