From d168882a32462ed0a6c4f93549549973380e5356 Mon Sep 17 00:00:00 2001 From: Berke Viktor Date: Sun, 30 Sep 2012 19:33:46 +0200 Subject: Add libpng solution and release scripts --- win32/deps/libpng/release-x86.bat | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 win32/deps/libpng/release-x86.bat (limited to 'win32/deps/libpng/release-x86.bat') diff --git a/win32/deps/libpng/release-x86.bat b/win32/deps/libpng/release-x86.bat new file mode 100644 index 00000000..2b6a5374 --- /dev/null +++ b/win32/deps/libpng/release-x86.bat @@ -0,0 +1,34 @@ +:: run this from a VS x86 command prompt +@echo off + +SET PACKAGE_NAME=libpng-1.5.12 + +set LIBPNG_SRC=%cd% +set LIBPNG_DEST=%cd%-x86 +echo.Press return when ready to install! +pause + +rmdir /q /s %LIBPNG_DEST% +mkdir %LIBPNG_DEST% +mkdir %LIBPNG_DEST%\bin +mkdir %LIBPNG_DEST%\include +mkdir %LIBPNG_DEST%\lib +copy png.h %LIBPNG_DEST%\include +copy pngconf.h %LIBPNG_DEST%\include +copy pnglibconf.h %LIBPNG_DEST%\include +copy pngpriv.h %LIBPNG_DEST%\include +copy projects\vstudio\Release\libpng15.exp %LIBPNG_DEST%\lib +copy projects\vstudio\Release\libpng15.lib %LIBPNG_DEST%\lib +copy projects\vstudio\Release\libpng15.dll %LIBPNG_DEST%\bin +copy projects\vstudio\Release\pngtest.exe %LIBPNG_DEST%\bin +copy projects\vstudio\Release\pngvalid.exe %LIBPNG_DEST%\bin + +cd %LIBPNG_DEST% +set PATH=%PATH%;%ProgramFiles%\7-zip +del ..\%PACKAGE_NAME%-x86.7z +7z a ..\%PACKAGE_NAME%-x86.7z * +cd %LIBPNG_SRC% +rmdir /q /s %LIBPNG_DEST% + +echo.Finished! +pause -- cgit 1.4.1