This commit is contained in:
quaK 2024-01-21 04:01:08 +02:00
parent 079b661f31
commit fb0b3ef2f3

View File

@ -322,6 +322,15 @@ links {"common"}
prebuildcommands {"pushd %{_MAIN_SCRIPT_DIR}", "tools\\premake5 generate-buildinfo", "popd"}
COMPUTER_NAME = os.getenv('COMPUTERNAME')
if COMPUTER_NAME == "JOEL-PC" then
debugdir "D:\\Games\\PC\\IW7"
debugcommand "D:\\Games\\PC\\IW7\\$(TargetName)$(TargetExt)"
postbuildcommands {
"copy /y \"$(OutDir)$(TargetName)$(TargetExt)\" \"D:\\Games\\PC\\IW7\\$(TargetName)$(TargetExt)\"",
}
end
if _OPTIONS["copy-to"] then
postbuildcommands {"copy /y \"$(TargetPath)\" \"" .. _OPTIONS["copy-to"] .. "\""}
end