build-scripts/windows-buildbot-zipper.bat
changeset 11168 93e083869445
parent 9264 c1eab6da82c1
child 11169 df9e78e15a16
     1.1 --- a/build-scripts/windows-buildbot-zipper.bat	Sat Jul 29 23:00:54 2017 +0200
     1.2 +++ b/build-scripts/windows-buildbot-zipper.bat	Sun Jul 30 10:09:34 2017 -0400
     1.3 @@ -3,11 +3,16 @@
     1.4  rem usage: windows-buildbot-zipper.bat <zipfilename>
     1.5  rem must be run from root of SDL source tree.
     1.6  
     1.7 -IF EXIST VisualC\Win32\Release GOTO okaydir
     1.8 +IF EXIST VisualC\Win32\Release GOTO okaywin32dir
     1.9  echo Please run from root of source tree after doing a Release build.
    1.10  GOTO done
    1.11  
    1.12 -:okaydir
    1.13 +:okaywin32dir
    1.14 +IF EXIST VisualC\Win64\Release GOTO okaydirs
    1.15 +echo Please run from root of source tree after doing a Release build.
    1.16 +GOTO done
    1.17 +
    1.18 +:okaydirs
    1.19  erase /q /f /s zipper
    1.20  IF EXIST zipper GOTO zippermade
    1.21  mkdir zipper
    1.22 @@ -18,10 +23,14 @@
    1.23  mkdir include
    1.24  mkdir lib
    1.25  mkdir lib\win32
    1.26 +mkdir lib\win64
    1.27  copy ..\..\include\*.h include\
    1.28  copy ..\..\VisualC\Win32\Release\SDL2.dll lib\win32\
    1.29  copy ..\..\VisualC\Win32\Release\SDL2.lib lib\win32\
    1.30  copy ..\..\VisualC\Win32\Release\SDL2main.lib lib\win32\
    1.31 +copy ..\..\VisualC\x64\Release\SDL2.dll lib\win64\
    1.32 +copy ..\..\VisualC\x64\Release\SDL2.lib lib\win64\
    1.33 +copy ..\..\VisualC\x64\Release\SDL2main.lib lib\win64\
    1.34  cd ..
    1.35  zip -9r ..\%1 SDL
    1.36  cd ..