package_libopenmpt_multi_args.cmd 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313
  1. @echo off
  2. set BATCH_DIR=%~dp0
  3. cd %BATCH_DIR%
  4. cd ..\..
  5. set MY_DIR=%CD%
  6. call "build\auto\setup_arguments.cmd" %1 %2 %3 %4 %5 %6
  7. call build\auto\setup_vs_any.cmd
  8. call build\auto\helper_get_svnversion.cmd
  9. call build\auto\helper_get_openmpt_version.cmd
  10. set MPT_REVISION=%LIBOPENMPT_VERSION_STRING%+%SVNVERSION%
  11. if "x%LIBOPENMPT_VERSION_PREREL%" == "x" (
  12. set MPT_REVISION=%LIBOPENMPT_VERSION_STRING%+release
  13. )
  14. set MPT_PKG_TAG=%MPT_DIST_VARIANT_OS%
  15. cd bin || goto error
  16. rmdir /s /q libopenmpt
  17. mkdir libopenmpt || goto error
  18. mkdir libopenmpt\bin.windows
  19. mkdir libopenmpt\bin.windows\%LIBOPENMPT_VERSION_STRING%
  20. rmdir /s /q libopenmpt-windows
  21. del /f /q libopenmpt-windows.tar
  22. del /f /q libopenmpt-%MPT_REVISION%.bin.windows.%MPT_PKG_FORMAT%
  23. mkdir libopenmpt-windows
  24. cd libopenmpt-windows || goto error
  25. mkdir openmpt123
  26. mkdir openmpt123\x86
  27. mkdir openmpt123\amd64
  28. mkdir openmpt123\x86-legacy
  29. mkdir openmpt123\amd64-legacy
  30. mkdir openmpt123\arm
  31. mkdir openmpt123\arm64
  32. mkdir XMPlay
  33. mkdir Winamp
  34. mkdir XMPlay-legacy
  35. mkdir Winamp-legacy
  36. rmdir /s /q Licenses
  37. mkdir Licenses
  38. copy /y ..\..\src\mpt\LICENSE.BSD-3-Clause.txt .\Licenses\License.mpt.BSD-3-Clause.txt || goto error
  39. copy /y ..\..\src\mpt\LICENSE.BSL-1.0.txt .\Licenses\License.mpt.BSL-1.0.txt || goto error
  40. rem copy /y ..\..\include\ancient\LICENSE .\Licenses\License.ancient.txt || goto error
  41. rem copy /y ..\..\include\ancient\src\BZIP2Table.hpp .\Licenses\License.ancient.bzip2.txt || goto error
  42. copy /y ..\..\include\flac\COPYING.Xiph .\Licenses\License.FLAC.txt || goto error
  43. rem copy /y ..\..\include\lame\COPYING .\Licenses\License.lame.txt || goto error
  44. rem copy /y ..\..\include\lhasa\COPYING .\Licenses\License.lhasa.txt || goto error
  45. rem copy /y ..\..\include\minimp3\LICENSE .\Licenses\License.minimp3.txt || goto error
  46. rem copy /y ..\..\include\miniz\miniz.c .\Licenses\License.miniz.txt || goto error
  47. copy /y ..\..\include\mpg123\COPYING .\Licenses\License.mpg123.txt || goto error
  48. copy /y ..\..\include\mpg123\AUTHORS .\Licenses\License.mpg123.Authors.txt || goto error
  49. rem copy /y ..\..\include\nlohmann-json\LICENSE.MIT .\Licenses\License.nlohmann-json.txt || goto error
  50. copy /y ..\..\include\ogg\COPYING .\Licenses\License.ogg.txt || goto error
  51. rem copy /y ..\..\include\opus\COPYING .\Licenses\License.Opus.txt || goto error
  52. rem copy /y ..\..\include\opusenc\COPYING .\Licenses\License.Opusenc.txt || goto error
  53. rem copy /y ..\..\include\opusenc\AUTHORS .\Licenses\License.Opusenc.Authors.txt || goto error
  54. rem copy /y ..\..\include\opusfile\COPYING .\Licenses\License.Opusfile.txt || goto error
  55. copy /y ..\..\include\portaudio\LICENSE.txt .\Licenses\License.PortAudio.txt || goto error
  56. copy /y ..\..\include\portaudio\bindings\cpp\COPYING .\Licenses\License.portaudiocpp.txt || goto error
  57. copy /y ..\..\include\pugixml\LICENSE.md .\Licenses\License.PugiXML.txt || goto error
  58. rem copy /y ..\..\include\r8brain\LICENSE .\Licenses\License.R8Brain.txt || goto error
  59. rem copy /y ..\..\include\rtaudio\README.md .\Licenses\License.RtAudio.txt || goto error
  60. rem copy /y ..\..\include\rtmidi\License.txt .\Licenses\License.RtMidi.txt || goto error
  61. rem copy /y ..\..\include\smbPitchShift\smbPitchShift.cpp .\Licenses\License.smbPitchShift.txt || goto error
  62. rem copy /y ..\..\include\soundtouch\COPYING.TXT .\Licenses\License.SoundTouch.txt || goto error
  63. rem copy /y ..\..\include\stb_vorbis\stb_vorbis.c .\Licenses\License.stb_vorbis.txt || goto error
  64. rem copy /y ..\..\include\unrar\license.txt .\Licenses\License.UnRAR.txt || goto error
  65. copy /y ..\..\include\vorbis\COPYING .\Licenses\License.Vorbis.txt || goto error
  66. copy /y ..\..\include\zlib\README .\Licenses\License.zlib.txt || goto error
  67. rem copy /y ..\..\include\zlib\contrib\minizip\MiniZip64_info.txt .\Licenses\License.minizip.txt || goto error
  68. copy /y ..\..\LICENSE .\LICENSE.txt || goto error
  69. copy /y ..\..\libopenmpt\dox\changelog.md .\ || goto error
  70. copy /y ..\..\libopenmpt\doc\xmp-openmpt.txt .\XMPlay\ || goto error
  71. copy /y ..\..\libopenmpt\doc\in_openmpt.txt .\Winamp\ || goto error
  72. copy /y ..\..\libopenmpt\doc\xmp-openmpt.txt .\XMPlay-legacy\ || goto error
  73. copy /y ..\..\libopenmpt\doc\in_openmpt.txt .\Winamp-legacy\ || goto error
  74. copy /y ..\..\bin\release\%MPT_VS_VER%-win81-static\x86\openmpt123.exe .\openmpt123\x86\ || goto error
  75. copy /y ..\..\bin\release\%MPT_VS_VER%-win81-static\x86\openmpt-mpg123.dll .\openmpt123\x86\ || goto error
  76. copy /y ..\..\bin\release\%MPT_VS_VER%-win81-static\amd64\openmpt123.exe .\openmpt123\amd64\ || goto error
  77. copy /y ..\..\bin\release\%MPT_VS_VER%-win81-static\amd64\openmpt-mpg123.dll .\openmpt123\amd64\ || goto error
  78. copy /y ..\..\bin\release\%MPT_VS_VER%-win10-static\arm\openmpt123.exe .\openmpt123\arm\ || goto error
  79. copy /y ..\..\bin\release\%MPT_VS_VER%-win10-static\arm\openmpt-mpg123.dll .\openmpt123\arm\ || goto error
  80. copy /y ..\..\bin\release\%MPT_VS_VER%-win10-static\arm64\openmpt123.exe .\openmpt123\arm64\ || goto error
  81. copy /y ..\..\bin\release\%MPT_VS_VER%-win10-static\arm64\openmpt-mpg123.dll .\openmpt123\arm64\ || goto error
  82. copy /y ..\..\bin\release\%MPT_VS_VER%-win7-static\x86\openmpt123.exe .\openmpt123\x86-legacy\ || goto error
  83. copy /y ..\..\bin\release\%MPT_VS_VER%-win7-static\x86\openmpt-mpg123.dll .\openmpt123\x86-legacy\ || goto error
  84. copy /y ..\..\bin\release\%MPT_VS_VER%-win7-static\amd64\openmpt123.exe .\openmpt123\amd64-legacy\ || goto error
  85. copy /y ..\..\bin\release\%MPT_VS_VER%-win7-static\amd64\openmpt-mpg123.dll .\openmpt123\amd64-legacy\ || goto error
  86. copy /y ..\..\bin\release\%MPT_VS_VER%-win81-static\x86\xmp-openmpt.dll .\XMPlay\ || goto error
  87. copy /y ..\..\bin\release\%MPT_VS_VER%-win81-static\x86\openmpt-mpg123.dll .\XMPlay\ || goto error
  88. copy /y ..\..\bin\release\%MPT_VS_VER%-win81-static\x86\in_openmpt.dll .\Winamp\ || goto error
  89. copy /y ..\..\bin\release\%MPT_VS_VER%-win81-static\x86\openmpt-mpg123.dll .\Winamp\ || goto error
  90. copy /y ..\..\bin\release\%MPT_VS_VER%-win7-static\x86\xmp-openmpt.dll .\XMPlay-legacy\ || goto error
  91. copy /y ..\..\bin\release\%MPT_VS_VER%-win7-static\x86\openmpt-mpg123.dll .\XMPlay-legacy\ || goto error
  92. copy /y ..\..\bin\release\%MPT_VS_VER%-win7-static\x86\in_openmpt.dll .\Winamp-legacy\ || goto error
  93. copy /y ..\..\bin\release\%MPT_VS_VER%-win7-static\x86\openmpt-mpg123.dll .\Winamp-legacy\ || goto error
  94. ..\..\build\tools\7zip\7z.exe a -t%MPT_PKG_FORMAT% -mx=9 ..\libopenmpt\bin.windows\%LIBOPENMPT_VERSION_STRING%\libopenmpt-%MPT_REVISION%.bin.windows.%MPT_PKG_FORMAT% ^
  95. LICENSE.txt ^
  96. Licenses ^
  97. changelog.md ^
  98. openmpt123\x86\openmpt123.exe ^
  99. openmpt123\x86\openmpt-mpg123.dll ^
  100. openmpt123\amd64\openmpt123.exe ^
  101. openmpt123\amd64\openmpt-mpg123.dll ^
  102. openmpt123\arm\openmpt123.exe ^
  103. openmpt123\arm\openmpt-mpg123.dll ^
  104. openmpt123\arm64\openmpt123.exe ^
  105. openmpt123\arm64\openmpt-mpg123.dll ^
  106. openmpt123\x86-legacy\openmpt123.exe ^
  107. openmpt123\x86-legacy\openmpt-mpg123.dll ^
  108. openmpt123\amd64-legacy\openmpt123.exe ^
  109. openmpt123\amd64-legacy\openmpt-mpg123.dll ^
  110. XMPlay\xmp-openmpt.txt ^
  111. XMPlay\xmp-openmpt.dll ^
  112. XMPlay\openmpt-mpg123.dll ^
  113. Winamp\in_openmpt.txt ^
  114. Winamp\in_openmpt.dll ^
  115. Winamp\openmpt-mpg123.dll ^
  116. XMPlay-legacy\xmp-openmpt.txt ^
  117. XMPlay-legacy\xmp-openmpt.dll ^
  118. XMPlay-legacy\openmpt-mpg123.dll ^
  119. Winamp-legacy\in_openmpt.txt ^
  120. Winamp-legacy\in_openmpt.dll ^
  121. Winamp-legacy\openmpt-mpg123.dll ^
  122. || goto error
  123. cd .. || goto error
  124. rmdir /s /q libopenmpt-windows
  125. ..\build\tools\7zip\7z.exe a -r -ttar libopenmpt-windows.tar libopenmpt || goto error
  126. del /f /q libopenmpt\bin.windows\%LIBOPENMPT_VERSION_STRING%\libopenmpt-%MPT_REVISION%.bin.windows.%MPT_PKG_FORMAT%
  127. rmdir /s /q libopenmpt
  128. cd .. || goto error
  129. cd bin || goto error
  130. rmdir /s /q libopenmpt
  131. mkdir libopenmpt || goto error
  132. mkdir libopenmpt\dev.windows.%MPT_VS_VER%
  133. mkdir libopenmpt\dev.windows.%MPT_VS_VER%\%LIBOPENMPT_VERSION_STRING%
  134. rmdir /s /q libopenmpt-dev-windows-%MPT_VS_VER%
  135. del /f /q libopenmpt-dev-windows-%MPT_VS_VER%.tar
  136. del /f /q libopenmpt-%MPT_REVISION%.dev.windows.%MPT_VS_VER%.%MPT_PKG_FORMAT%
  137. mkdir libopenmpt-dev-windows-%MPT_VS_VER%
  138. cd libopenmpt-dev-windows-%MPT_VS_VER% || goto error
  139. mkdir inc
  140. mkdir inc\libopenmpt
  141. mkdir lib
  142. mkdir lib\x86
  143. mkdir lib\amd64
  144. mkdir lib\arm
  145. mkdir lib\arm64
  146. mkdir lib\x86-legacy
  147. mkdir lib\amd64-legacy
  148. mkdir bin
  149. mkdir bin\x86
  150. mkdir bin\amd64
  151. mkdir bin\arm
  152. mkdir bin\arm64
  153. mkdir bin\x86-legacy
  154. mkdir bin\amd64-legacy
  155. copy /y ..\..\LICENSE .\LICENSE.txt || goto error
  156. rmdir /s /q Licenses
  157. mkdir Licenses
  158. copy /y ..\..\src\mpt\LICENSE.BSD-3-Clause.txt .\Licenses\License.mpt.BSD-3-Clause.txt || goto error
  159. copy /y ..\..\src\mpt\LICENSE.BSL-1.0.txt .\Licenses\License.mpt.BSL-1.0.txt || goto error
  160. rem copy /y ..\..\include\ancient\LICENSE .\Licenses\License.ancient.txt || goto error
  161. rem copy /y ..\..\include\ancient\src\BZIP2Table.hpp .\Licenses\License.ancient.bzip2.txt || goto error
  162. rem copy /y ..\..\include\flac\COPYING.Xiph .\Licenses\License.FLAC.txt || goto error
  163. rem copy /y ..\..\include\lame\COPYING .\Licenses\License.lame.txt || goto error
  164. rem copy /y ..\..\include\lhasa\COPYING .\Licenses\License.lhasa.txt || goto error
  165. rem copy /y ..\..\include\minimp3\LICENSE .\Licenses\License.minimp3.txt || goto error
  166. rem copy /y ..\..\include\miniz\LICENSE .\Licenses\License.miniz.txt || goto error
  167. copy /y ..\..\include\mpg123\COPYING .\Licenses\License.mpg123.txt || goto error
  168. copy /y ..\..\include\mpg123\AUTHORS .\Licenses\License.mpg123.Authors.txt || goto error
  169. rem copy /y ..\..\include\nlohmann-json\LICENSE.MIT .\Licenses\License.nlohmann-json.txt || goto error
  170. copy /y ..\..\include\ogg\COPYING .\Licenses\License.ogg.txt || goto error
  171. rem copy /y ..\..\include\opus\COPYING .\Licenses\License.Opus.txt || goto error
  172. rem copy /y ..\..\include\opusenc\COPYING .\Licenses\License.Opusenc.txt || goto error
  173. rem copy /y ..\..\include\opusenc\AUTHORS .\Licenses\License.Opusenc.Authors.txt || goto error
  174. rem copy /y ..\..\include\opusfile\COPYING .\Licenses\License.Opusfile.txt || goto error
  175. rem copy /y ..\..\include\portaudio\LICENSE.txt .\Licenses\License.PortAudio.txt || goto error
  176. rem copy /y ..\..\include\portaudio\bindings\cpp\COPYING .\Licenses\License.portaudiocpp.txt || goto error
  177. rem copy /y ..\..\include\pugixml\LICENSE.md .\Licenses\License.PugiXML.txt || goto error
  178. rem copy /y ..\..\include\r8brain\LICENSE .\Licenses\License.R8Brain.txt || goto error
  179. rem copy /y ..\..\include\rtaudio\README.md .\Licenses\License.RtAudio.txt || goto error
  180. rem copy /y ..\..\include\rtmidi\License.txt .\Licenses\License.RtMidi.txt || goto error
  181. rem copy /y ..\..\include\smbPitchShift\smbPitchShift.cpp .\Licenses\License.smbPitchShift.txt || goto error
  182. rem copy /y ..\..\include\soundtouch\COPYING.TXT .\Licenses\License.SoundTouch.txt || goto error
  183. rem copy /y ..\..\include\stb_vorbis\stb_vorbis.c .\Licenses\License.stb_vorbis.txt || goto error
  184. rem copy /y ..\..\include\unrar\license.txt .\Licenses\License.UnRAR.txt || goto error
  185. copy /y ..\..\include\vorbis\COPYING .\Licenses\License.Vorbis.txt || goto error
  186. copy /y ..\..\include\zlib\README .\Licenses\License.zlib.txt || goto error
  187. rem copy /y ..\..\include\zlib\contrib\minizip\MiniZip64_info.txt .\Licenses\License.minizip.txt || goto error
  188. copy /y ..\..\libopenmpt\dox\changelog.md .\changelog.md || goto error
  189. copy /y ..\..\libopenmpt\libopenmpt.h inc\libopenmpt\ || goto error
  190. copy /y ..\..\libopenmpt\libopenmpt.hpp inc\libopenmpt\ || goto error
  191. copy /y ..\..\libopenmpt\libopenmpt_config.h inc\libopenmpt\ || goto error
  192. copy /y ..\..\libopenmpt\libopenmpt_version.h inc\libopenmpt\ || goto error
  193. copy /y ..\..\libopenmpt\libopenmpt_ext.h inc\libopenmpt\ || goto error
  194. copy /y ..\..\libopenmpt\libopenmpt_ext.hpp inc\libopenmpt\ || goto error
  195. copy /y ..\..\libopenmpt\libopenmpt_stream_callbacks_buffer.h inc\libopenmpt\ || goto error
  196. copy /y ..\..\libopenmpt\libopenmpt_stream_callbacks_fd.h inc\libopenmpt\ || goto error
  197. copy /y ..\..\libopenmpt\libopenmpt_stream_callbacks_file.h inc\libopenmpt\ || goto error
  198. copy /y ..\..\bin\release\%MPT_VS_VER%-win81-shared\x86\libopenmpt.lib lib\x86\ || goto error
  199. copy /y ..\..\bin\release\%MPT_VS_VER%-win81-shared\x86\libopenmpt.dll bin\x86\ || goto error
  200. copy /y ..\..\bin\release\%MPT_VS_VER%-win81-shared\x86\openmpt-mpg123.dll bin\x86\ || goto error
  201. copy /y ..\..\bin\release\%MPT_VS_VER%-win81-shared\x86\openmpt-ogg.dll bin\x86\ || goto error
  202. copy /y ..\..\bin\release\%MPT_VS_VER%-win81-shared\x86\openmpt-vorbis.dll bin\x86\ || goto error
  203. copy /y ..\..\bin\release\%MPT_VS_VER%-win81-shared\x86\openmpt-zlib.dll bin\x86\ || goto error
  204. copy /y ..\..\bin\release\%MPT_VS_VER%-win81-shared\amd64\libopenmpt.lib lib\amd64\ || goto error
  205. copy /y ..\..\bin\release\%MPT_VS_VER%-win81-shared\amd64\libopenmpt.dll bin\amd64\ || goto error
  206. copy /y ..\..\bin\release\%MPT_VS_VER%-win81-shared\amd64\openmpt-mpg123.dll bin\amd64\ || goto error
  207. copy /y ..\..\bin\release\%MPT_VS_VER%-win81-shared\amd64\openmpt-ogg.dll bin\amd64\ || goto error
  208. copy /y ..\..\bin\release\%MPT_VS_VER%-win81-shared\amd64\openmpt-vorbis.dll bin\amd64\ || goto error
  209. copy /y ..\..\bin\release\%MPT_VS_VER%-win81-shared\amd64\openmpt-zlib.dll bin\amd64\ || goto error
  210. copy /y ..\..\bin\release\%MPT_VS_VER%-win10-shared\arm\libopenmpt.lib lib\arm\ || goto error
  211. copy /y ..\..\bin\release\%MPT_VS_VER%-win10-shared\arm\libopenmpt.dll bin\arm\ || goto error
  212. copy /y ..\..\bin\release\%MPT_VS_VER%-win10-shared\arm\openmpt-mpg123.dll bin\arm\ || goto error
  213. copy /y ..\..\bin\release\%MPT_VS_VER%-win10-shared\arm\openmpt-ogg.dll bin\arm\ || goto error
  214. copy /y ..\..\bin\release\%MPT_VS_VER%-win10-shared\arm\openmpt-vorbis.dll bin\arm\ || goto error
  215. copy /y ..\..\bin\release\%MPT_VS_VER%-win10-shared\arm\openmpt-zlib.dll bin\arm\ || goto error
  216. copy /y ..\..\bin\release\%MPT_VS_VER%-win10-shared\arm64\libopenmpt.lib lib\arm64\ || goto error
  217. copy /y ..\..\bin\release\%MPT_VS_VER%-win10-shared\arm64\libopenmpt.dll bin\arm64\ || goto error
  218. copy /y ..\..\bin\release\%MPT_VS_VER%-win10-shared\arm64\openmpt-mpg123.dll bin\arm64\ || goto error
  219. copy /y ..\..\bin\release\%MPT_VS_VER%-win10-shared\arm64\openmpt-ogg.dll bin\arm64\ || goto error
  220. copy /y ..\..\bin\release\%MPT_VS_VER%-win10-shared\arm64\openmpt-vorbis.dll bin\arm64\ || goto error
  221. copy /y ..\..\bin\release\%MPT_VS_VER%-win10-shared\arm64\openmpt-zlib.dll bin\arm64\ || goto error
  222. copy /y ..\..\bin\release\%MPT_VS_VER%-win7-shared\x86\libopenmpt.lib lib\x86-legacy\ || goto error
  223. copy /y ..\..\bin\release\%MPT_VS_VER%-win7-shared\x86\libopenmpt.dll bin\x86-legacy\ || goto error
  224. copy /y ..\..\bin\release\%MPT_VS_VER%-win7-shared\x86\openmpt-mpg123.dll bin\x86-legacy\ || goto error
  225. copy /y ..\..\bin\release\%MPT_VS_VER%-win7-shared\x86\openmpt-ogg.dll bin\x86-legacy\ || goto error
  226. copy /y ..\..\bin\release\%MPT_VS_VER%-win7-shared\x86\openmpt-vorbis.dll bin\x86-legacy\ || goto error
  227. copy /y ..\..\bin\release\%MPT_VS_VER%-win7-shared\x86\openmpt-zlib.dll bin\x86-legacy\ || goto error
  228. copy /y ..\..\bin\release\%MPT_VS_VER%-win7-shared\amd64\libopenmpt.lib lib\amd64-legacy\ || goto error
  229. copy /y ..\..\bin\release\%MPT_VS_VER%-win7-shared\amd64\libopenmpt.dll bin\amd64-legacy\ || goto error
  230. copy /y ..\..\bin\release\%MPT_VS_VER%-win7-shared\amd64\openmpt-mpg123.dll bin\amd64-legacy\ || goto error
  231. copy /y ..\..\bin\release\%MPT_VS_VER%-win7-shared\amd64\openmpt-ogg.dll bin\amd64-legacy\ || goto error
  232. copy /y ..\..\bin\release\%MPT_VS_VER%-win7-shared\amd64\openmpt-vorbis.dll bin\amd64-legacy\ || goto error
  233. copy /y ..\..\bin\release\%MPT_VS_VER%-win7-shared\amd64\openmpt-zlib.dll bin\amd64-legacy\ || goto error
  234. ..\..\build\tools\7zip\7z.exe a -t%MPT_PKG_FORMAT% -mx=9 ..\libopenmpt\dev.windows.%MPT_VS_VER%\%LIBOPENMPT_VERSION_STRING%\libopenmpt-%MPT_REVISION%.dev.windows.%MPT_VS_VER%.%MPT_PKG_FORMAT% ^
  235. LICENSE.txt ^
  236. Licenses ^
  237. changelog.md ^
  238. inc\libopenmpt\libopenmpt.h ^
  239. inc\libopenmpt\libopenmpt.hpp ^
  240. inc\libopenmpt\libopenmpt_config.h ^
  241. inc\libopenmpt\libopenmpt_version.h ^
  242. inc\libopenmpt\libopenmpt_ext.h ^
  243. inc\libopenmpt\libopenmpt_ext.hpp ^
  244. inc\libopenmpt\libopenmpt_stream_callbacks_buffer.h ^
  245. inc\libopenmpt\libopenmpt_stream_callbacks_fd.h ^
  246. inc\libopenmpt\libopenmpt_stream_callbacks_file.h ^
  247. lib\x86\libopenmpt.lib ^
  248. lib\amd64\libopenmpt.lib ^
  249. lib\arm\libopenmpt.lib ^
  250. lib\arm64\libopenmpt.lib ^
  251. lib\x86-legacy\libopenmpt.lib ^
  252. lib\amd64-legacy\libopenmpt.lib ^
  253. bin\x86\libopenmpt.dll ^
  254. bin\x86\openmpt-mpg123.dll ^
  255. bin\x86\openmpt-ogg.dll ^
  256. bin\x86\openmpt-vorbis.dll ^
  257. bin\x86\openmpt-zlib.dll ^
  258. bin\amd64\libopenmpt.dll ^
  259. bin\amd64\openmpt-mpg123.dll ^
  260. bin\amd64\openmpt-ogg.dll ^
  261. bin\amd64\openmpt-vorbis.dll ^
  262. bin\amd64\openmpt-zlib.dll ^
  263. bin\arm\libopenmpt.dll ^
  264. bin\arm\openmpt-mpg123.dll ^
  265. bin\arm\openmpt-ogg.dll ^
  266. bin\arm\openmpt-vorbis.dll ^
  267. bin\arm\openmpt-zlib.dll ^
  268. bin\arm64\libopenmpt.dll ^
  269. bin\arm64\openmpt-mpg123.dll ^
  270. bin\arm64\openmpt-ogg.dll ^
  271. bin\arm64\openmpt-vorbis.dll ^
  272. bin\arm64\openmpt-zlib.dll ^
  273. bin\x86-legacy\libopenmpt.dll ^
  274. bin\x86-legacy\openmpt-mpg123.dll ^
  275. bin\x86-legacy\openmpt-ogg.dll ^
  276. bin\x86-legacy\openmpt-vorbis.dll ^
  277. bin\x86-legacy\openmpt-zlib.dll ^
  278. bin\amd64-legacy\libopenmpt.dll ^
  279. bin\amd64-legacy\openmpt-mpg123.dll ^
  280. bin\amd64-legacy\openmpt-ogg.dll ^
  281. bin\amd64-legacy\openmpt-vorbis.dll ^
  282. bin\amd64-legacy\openmpt-zlib.dll ^
  283. || goto error
  284. cd .. || goto error
  285. rmdir /s /q libopenmpt-dev-windows-%MPT_VS_VER%
  286. ..\build\tools\7zip\7z.exe a -r -ttar libopenmpt-dev-windows-%MPT_VS_VER%.tar libopenmpt || goto error
  287. del /f /q libopenmpt\dev.windows.%MPT_VS_VER%\%LIBOPENMPT_VERSION_STRING%\libopenmpt-%MPT_REVISION%.dev.windows.%MPT_VS_VER%.%MPT_PKG_FORMAT%
  288. rmdir /s /q libopenmpt
  289. cd .. || goto error
  290. goto noerror
  291. :error
  292. cd "%MY_DIR%"
  293. exit 1
  294. :noerror
  295. cd "%MY_DIR%"
  296. exit 0