diff --git a/win32/Lol.Rules.props b/win32/Lol.Rules.props index a1c9e549..9a093423 100644 --- a/win32/Lol.Rules.props +++ b/win32/Lol.Rules.props @@ -48,10 +48,24 @@ - for %%I in ($(SdlLibs)) do xcopy /y /c /d %%I\*.dll "$(TargetDir)" + + set A=$(SdlLibs) + :again + for /f "tokens=1* delims=;" %%I in ("%A%") do ( + if not "%%I" == "" xcopy /y /c /d "%%I"\*.dll "$(TargetDir)" && set A=%%J + if not "%%I" == "" goto again + ) + - for %%I in ($(SdlLibs)) do xcopy /y /c /d %%I\*.dll "$(TargetDir)" + + set A=$(SdlLibs) + :again + for /f "tokens=1* delims=;" %%I in ("%A%") do ( + if not "%%I" == "" xcopy /y /c /d "%%I"\*.dll "$(TargetDir)" && set A=%%J + if not "%%I" == "" goto again + ) +