From 50bf1b59593bf4d55c1d2964987c46b4aafc1868 Mon Sep 17 00:00:00 2001 From: Berke Viktor Date: Fri, 28 Sep 2012 18:53:53 +0200 Subject: Add Expat solution and release scripts --- win32/deps/expat/release-x86.bat | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 win32/deps/expat/release-x86.bat (limited to 'win32/deps/expat/release-x86.bat') diff --git a/win32/deps/expat/release-x86.bat b/win32/deps/expat/release-x86.bat new file mode 100644 index 00000000..9c2fe115 --- /dev/null +++ b/win32/deps/expat/release-x86.bat @@ -0,0 +1,39 @@ +:: run this from a command prompt +@echo off + +SET PACKAGE_NAME=expat-2.1.0 + +set EXPAT_SRC=%cd% +set EXPAT_DEST=%cd%-x86 +echo.Press return when ready to install! +pause + +rmdir /q /s %EXPAT_DEST% +mkdir %EXPAT_DEST% +mkdir %EXPAT_DEST%\bin +mkdir %EXPAT_DEST%\include +mkdir %EXPAT_DEST%\lib +copy win32\bin\Release\elements.exe %EXPAT_DEST%\bin +copy win32\bin\Release\libexpat.dll %EXPAT_DEST%\bin +copy win32\bin\Release\libexpatw.dll %EXPAT_DEST%\bin +copy win32\bin\Release\outline.exe %EXPAT_DEST%\bin +copy win32\bin\Release\xmlwf.exe %EXPAT_DEST%\bin +copy lib\expat.h %EXPAT_DEST%\include +copy lib\expat_external.h %EXPAT_DEST%\include +copy win32\bin\Release\libexpat.exp %EXPAT_DEST%\lib +copy win32\bin\Release\libexpat.lib %EXPAT_DEST%\lib +copy win32\bin\Release\libexpatMT.lib %EXPAT_DEST%\lib +copy win32\bin\Release\libexpatw.exp %EXPAT_DEST%\lib +copy win32\bin\Release\libexpatw.lib %EXPAT_DEST%\lib +copy win32\bin\Release\libexpatwMT.lib %EXPAT_DEST%\lib +copy COPYING %EXPAT_DEST%\LICENSE.EXPAT + +cd %EXPAT_DEST% +set PATH=%PATH%;%ProgramFiles%\7-zip +del ..\%PACKAGE_NAME%-x86.7z +7z a ..\%PACKAGE_NAME%-x86.7z * +cd %EXPAT_SRC% +rmdir /q /s %EXPAT_DEST% + +echo.Finished! +pause -- cgit 1.4.1