@echo off

rem Graphics - TextureLoader

xcopy "..\Plugins\Graphics\TextureLoader\BMP\Solutions\VS2013\Bin\x64\Debug\BMP.dll" "..\..\Plugins\Graphics\TextureLoader\VS2013\x64\Debug\" /I /Y
xcopy "..\Plugins\Graphics\TextureLoader\BMP\Solutions\VS2013\Bin\x64\Release\BMP.dll" "..\..\Plugins\Graphics\TextureLoader\VS2013\x64\Release\" /I /Y
xcopy "..\Plugins\Graphics\TextureLoader\BMP\Solutions\VS2013\Bin\x86\Debug\BMP.dll" "..\..\Plugins\Graphics\TextureLoader\VS2013\x86\Debug\" /I /Y
xcopy "..\Plugins\Graphics\TextureLoader\BMP\Solutions\VS2013\Bin\x86\Release\BMP.dll" "..\..\Plugins\Graphics\TextureLoader\VS2013\x86\Release\" /I /Y

xcopy "..\Plugins\Graphics\TextureLoader\DDS\Solutions\VS2013\Bin\x64\Debug\DDS.dll" "..\..\Plugins\Graphics\TextureLoader\VS2013\x64\Debug\" /I /Y
xcopy "..\Plugins\Graphics\TextureLoader\DDS\Solutions\VS2013\Bin\x64\Release\DDS.dll" "..\..\Plugins\Graphics\TextureLoader\VS2013\x64\Release\" /I /Y
xcopy "..\Plugins\Graphics\TextureLoader\DDS\Solutions\VS2013\Bin\x86\Debug\DDS.dll" "..\..\Plugins\Graphics\TextureLoader\VS2013\x86\Debug\" /I /Y
xcopy "..\Plugins\Graphics\TextureLoader\DDS\Solutions\VS2013\Bin\x86\Release\DDS.dll" "..\..\Plugins\Graphics\TextureLoader\VS2013\x86\Release\" /I /Y

xcopy "..\Plugins\Graphics\TextureLoader\JPEG\Solutions\VS2013\Bin\x64\Debug\JPEG.dll" "..\..\Plugins\Graphics\TextureLoader\VS2013\x64\Debug\" /I /Y
xcopy "..\Plugins\Graphics\TextureLoader\JPEG\Solutions\VS2013\Bin\x64\Release\JPEG.dll" "..\..\Plugins\Graphics\TextureLoader\VS2013\x64\Release\" /I /Y
xcopy "..\Plugins\Graphics\TextureLoader\JPEG\Solutions\VS2013\Bin\x86\Debug\JPEG.dll" "..\..\Plugins\Graphics\TextureLoader\VS2013\x86\Debug\" /I /Y
xcopy "..\Plugins\Graphics\TextureLoader\JPEG\Solutions\VS2013\Bin\x86\Release\JPEG.dll" "..\..\Plugins\Graphics\TextureLoader\VS2013\x86\Release\" /I /Y

xcopy "..\Plugins\Graphics\TextureLoader\PNG\Solutions\VS2013\Bin\x64\Debug\PNG.dll" "..\..\Plugins\Graphics\TextureLoader\VS2013\x64\Debug\" /I /Y
xcopy "..\Plugins\Graphics\TextureLoader\PNG\Solutions\VS2013\Bin\x64\Release\PNG.dll" "..\..\Plugins\Graphics\TextureLoader\VS2013\x64\Release\" /I /Y
xcopy "..\Plugins\Graphics\TextureLoader\PNG\Solutions\VS2013\Bin\x86\Debug\PNG.dll" "..\..\Plugins\Graphics\TextureLoader\VS2013\x86\Debug\" /I /Y
xcopy "..\Plugins\Graphics\TextureLoader\PNG\Solutions\VS2013\Bin\x86\Release\PNG.dll" "..\..\Plugins\Graphics\TextureLoader\VS2013\x86\Release\" /I /Y

rem Sound - Decoder

xcopy "..\Plugins\Sound\Decoder\OggVorbis\Solutions\VS2013\Bin\x64\Debug\OggVorbis.dll" "..\..\Plugins\Sound\Decoder\VS2013\x64\Debug\" /I /Y
xcopy "..\Plugins\Sound\Decoder\OggVorbis\Solutions\VS2013\Bin\x64\Release\OggVorbis.dll" "..\..\Plugins\Sound\Decoder\VS2013\x64\Release\" /I /Y
xcopy "..\Plugins\Sound\Decoder\OggVorbis\Solutions\VS2013\Bin\x86\Debug\OggVorbis.dll" "..\..\Plugins\Sound\Decoder\VS2013\x86\Debug\" /I /Y
xcopy "..\Plugins\Sound\Decoder\OggVorbis\Solutions\VS2013\Bin\x86\Release\OggVorbis.dll" "..\..\Plugins\Sound\Decoder\VS2013\x86\Release\" /I /Y

xcopy "..\Plugins\Sound\Decoder\Wave\Solutions\VS2013\Bin\x64\Debug\Wave.dll" "..\..\Plugins\Sound\Decoder\VS2013\x64\Debug\" /I /Y
xcopy "..\Plugins\Sound\Decoder\Wave\Solutions\VS2013\Bin\x64\Release\Wave.dll" "..\..\Plugins\Sound\Decoder\VS2013\x64\Release\" /I /Y
xcopy "..\Plugins\Sound\Decoder\Wave\Solutions\VS2013\Bin\x86\Debug\Wave.dll" "..\..\Plugins\Sound\Decoder\VS2013\x86\Debug\" /I /Y
xcopy "..\Plugins\Sound\Decoder\Wave\Solutions\VS2013\Bin\x86\Release\Wave.dll" "..\..\Plugins\Sound\Decoder\VS2013\x86\Release\" /I /Y

rem Example Media x86

xcopy "..\Plugins\Graphics\TextureLoader\BMP\Solutions\VS2013\Bin\x86\Release\BMP.dll" "..\..\Examples\Media\Plugins\x86\Graphics\TextureLoader\" /I /Y
xcopy "..\Plugins\Graphics\TextureLoader\DDS\Solutions\VS2013\Bin\x86\Release\DDS.dll" "..\..\Examples\Media\Plugins\x86\Graphics\TextureLoader\" /I /Y
xcopy "..\Plugins\Graphics\TextureLoader\JPEG\Solutions\VS2013\Bin\x86\Release\JPEG.dll" "..\..\Examples\Media\Plugins\x86\Graphics\TextureLoader\" /I /Y
xcopy "..\Plugins\Graphics\TextureLoader\PNG\Solutions\VS2013\Bin\x86\Release\PNG.dll" "..\..\Examples\Media\Plugins\x86\Graphics\TextureLoader\" /I /Y
xcopy "..\Plugins\Sound\Decoder\OggVorbis\Solutions\VS2013\Bin\x86\Release\OggVorbis.dll" "..\..\Examples\Media\Plugins\x86\Sound\Decoder\" /I /Y
xcopy "..\Plugins\Sound\Decoder\Wave\Solutions\VS2013\Bin\x86\Release\Wave.dll" "..\..\Examples\Media\Plugins\x86\Sound\Decoder\" /I /Y

xcopy "..\Plugins\Graphics\TextureLoader\BMP\Solutions\VS2013\Bin\x64\Release\BMP.dll" "..\..\Examples\Media\Plugins\x64\Graphics\TextureLoader\" /I /Y
xcopy "..\Plugins\Graphics\TextureLoader\DDS\Solutions\VS2013\Bin\x64\Release\DDS.dll" "..\..\Examples\Media\Plugins\x64\Graphics\TextureLoader\" /I /Y
xcopy "..\Plugins\Graphics\TextureLoader\JPEG\Solutions\VS2013\Bin\x64\Release\JPEG.dll" "..\..\Examples\Media\Plugins\x64\Graphics\TextureLoader\" /I /Y
xcopy "..\Plugins\Graphics\TextureLoader\PNG\Solutions\VS2013\Bin\x64\Release\PNG.dll" "..\..\Examples\Media\Plugins\x64\Graphics\TextureLoader\" /I /Y
xcopy "..\Plugins\Sound\Decoder\OggVorbis\Solutions\VS2013\Bin\x64\Release\OggVorbis.dll" "..\..\Examples\Media\Plugins\x64\Sound\Decoder\" /I /Y
xcopy "..\Plugins\Sound\Decoder\Wave\Solutions\VS2013\Bin\x64\Release\Wave.dll" "..\..\Examples\Media\Plugins\x64\Sound\Decoder\" /I /Y

if "%1" == "" (
  @echo on
  pause
) else (
  @echo on
)
