premake5: --copy-to now also copies all other DLLs (f.ex. those produced by debug builds)

This commit is contained in:
/dev/urandom 2016-01-04 21:06:50 +01:00
parent 0bfd6992c7
commit 48356a974c
No known key found for this signature in database
GPG Key ID: 41322B973E0F295E

View File

@ -106,7 +106,7 @@ workspace "iw4x"
if _OPTIONS["copy-to"] then if _OPTIONS["copy-to"] then
saneCopyToPath = string.gsub(_OPTIONS["copy-to"] .. "\\", "\\\\", "\\") saneCopyToPath = string.gsub(_OPTIONS["copy-to"] .. "\\", "\\\\", "\\")
postbuildcommands { postbuildcommands {
"copy /y \"$(TargetPath)\" \"" .. saneCopyToPath .. "\"" "{COPY} \"$(TargetDir)*.dll\" \"" .. saneCopyToPath .. "\""
} }
end end