🛠️🐜 Antkeeper superbuild with dependencies included https://antkeeper.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.0 KiB

  1. @echo off
  2. rem just a helper batch file for collecting up files and zipping them.
  3. rem usage: windows-buildbot-zipper.bat <zipfilename>
  4. rem must be run from root of SDL source tree.
  5. IF EXIST VisualC\Win32\Release GOTO okaywin32dir
  6. echo Please run from root of source tree after doing a Release build.
  7. GOTO done
  8. :okaywin32dir
  9. IF EXIST VisualC\x64\Release GOTO okaydirs
  10. echo Please run from root of source tree after doing a Release build.
  11. GOTO done
  12. :okaydirs
  13. erase /q /f /s zipper
  14. IF EXIST zipper GOTO zippermade
  15. mkdir zipper
  16. :zippermade
  17. cd zipper
  18. mkdir SDL
  19. cd SDL
  20. mkdir include
  21. mkdir lib
  22. mkdir lib\win32
  23. mkdir lib\win64
  24. copy ..\..\include\*.h include\
  25. copy ..\..\VisualC\Win32\Release\SDL2.dll lib\win32\
  26. copy ..\..\VisualC\Win32\Release\SDL2.lib lib\win32\
  27. copy ..\..\VisualC\Win32\Release\SDL2main.lib lib\win32\
  28. copy ..\..\VisualC\x64\Release\SDL2.dll lib\win64\
  29. copy ..\..\VisualC\x64\Release\SDL2.lib lib\win64\
  30. copy ..\..\VisualC\x64\Release\SDL2main.lib lib\win64\
  31. cd ..
  32. zip -9r ..\%1 SDL
  33. cd ..
  34. erase /q /f /s zipper
  35. :done