-
Notifications
You must be signed in to change notification settings - Fork 0
/
copyDLLs.bat
33 lines (29 loc) · 1.15 KB
/
copyDLLs.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
if exist bin\x86\Debug\ (
echo "Updating DLLs for x86 Debug"
del bin\x86\Debug\*.dll
ROBOCOPY ThirdParty\SDL2\lib\x86\ bin\x86\Debug SDL2.dll
ROBOCOPY ThirdParty\SDL2_image\lib\x86\ bin\x86\Debug SDL2_image.dll
ROBOCOPY ThirdParty\SDL2_ttf\lib\x86\ bin\x86\Debug SDL2_ttf.dll
)
if exist bin\x86\Release\ (
echo "Updating DLLs for x86 Release"
del bin\x86\Release\*.dll
ROBOCOPY ThirdParty\SDL2\lib\x86\ bin\x86\Release SDL2.dll
ROBOCOPY ThirdParty\SDL2_image\lib\x86\ bin\x86\Release SDL2_image.dll
ROBOCOPY ThirdParty\SDL2_ttf\lib\x86\ bin\x86\Release SDL2_ttf.dll
)
if exist bin\x64\Debug\ (
echo "Updating DLLs for x64 Debug"
del bin\x64\Debug\*.dll
ROBOCOPY ThirdParty\SDL2\lib\x64\ bin\x64\Debug SDL2.dll
ROBOCOPY ThirdParty\SDL2_image\lib\x64\ bin\x64\Debug SDL2_image.dll
ROBOCOPY ThirdParty\SDL2_ttf\lib\x64\ bin\x64\Debug SDL2_ttf.dll
)
if exist bin\x64\Release\ (
echo "Updating DLLs for x64 Release"
del bin\x64\Release\*.dll
ROBOCOPY ThirdParty\SDL2\lib\x64\ bin\x64\Release SDL2.dll
ROBOCOPY ThirdParty\SDL2_image\lib\x64\ bin\x64\Release SDL2_image.dll
ROBOCOPY ThirdParty\SDL2_ttf\lib\x64\ bin\x64\Release SDL2_ttf.dll
)
exit 0