diff options
author | Berke Viktor <bviktor@hexchat.org> | 2012-09-28 21:01:59 +0200 |
---|---|---|
committer | Berke Viktor <bviktor@hexchat.org> | 2012-09-28 21:01:59 +0200 |
commit | 9818573975fca87ca40e2ebf9cf7c0850f6ccda8 (patch) | |
tree | 2b0267adb598c4a69548fd9991c02f5e2fc06ae0 /win32/deps/libxml2/release-x86.bat | |
parent | cd832c048fa891f6c7e3e83b623a3c066d66cc67 (diff) |
Add libxml2 solution and release scripts
Diffstat (limited to 'win32/deps/libxml2/release-x86.bat')
-rw-r--r-- | win32/deps/libxml2/release-x86.bat | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/win32/deps/libxml2/release-x86.bat b/win32/deps/libxml2/release-x86.bat new file mode 100644 index 00000000..a73b0ac6 --- /dev/null +++ b/win32/deps/libxml2/release-x86.bat @@ -0,0 +1,38 @@ +:: run this from a command prompt +@echo off + +SET PACKAGE_NAME=libxml2-2.9.0 + +copy win32\vc11\Release\runsuite.exe . +set PATH=%PATH%;..\build\Win32\bin;win32\vc11\Release +runsuite.exe +del runsuite.exe +set LIBXML_SRC=%cd% +set LIBXML_DEST=%cd%-x86 +echo.Press return when ready to install! +pause + +rmdir /q /s %LIBXML_DEST% +mkdir %LIBXML_DEST% +mkdir %LIBXML_DEST%\bin +mkdir %LIBXML_DEST%\include +mkdir %LIBXML_DEST%\include\libxml +mkdir %LIBXML_DEST%\lib +copy win32\vc11\Release\libxml2.dll %LIBXML_DEST%\bin +copy win32\vc11\Release\runsuite.exe %LIBXML_DEST%\bin +copy win32\vc11\Release\libxml2.exp %LIBXML_DEST%\lib +copy win32\vc11\Release\libxml2.lib %LIBXML_DEST%\lib +copy include\win32config.h %LIBXML_DEST%\include +copy include\wsockcompat.h %LIBXML_DEST%\include +xcopy /s include\libxml\*.h %LIBXML_DEST%\include\libxml\ +copy COPYING %EXPAT_DEST%\LICENSE.LIBXML2 + +cd %LIBXML_DEST% +set PATH=%PATH%;%ProgramFiles%\7-zip +del ..\%PACKAGE_NAME%-x86.7z +7z a ..\%PACKAGE_NAME%-x86.7z * +cd %LIBXML_SRC% +rmdir /q /s %LIBXML_DEST% + +echo.Finished! +pause |