diff options
Diffstat (limited to 'win32/deps/win-iconv')
-rw-r--r-- | win32/deps/win-iconv/COPYING | 24 | ||||
-rw-r--r-- | win32/deps/win-iconv/build-x64.bat | 31 | ||||
-rw-r--r-- | win32/deps/win-iconv/build-x86.bat | 31 |
3 files changed, 86 insertions, 0 deletions
diff --git a/win32/deps/win-iconv/COPYING b/win32/deps/win-iconv/COPYING new file mode 100644 index 00000000..f09c3854 --- /dev/null +++ b/win32/deps/win-iconv/COPYING @@ -0,0 +1,24 @@ +Copyright (c) 2009-2012, Yukihiro Nakadaira <yukihiro.nakadaira@gmail.com> +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the name of the <organization> nor the + names of its contributors may be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY +DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/win32/deps/win-iconv/build-x64.bat b/win32/deps/win-iconv/build-x64.bat new file mode 100644 index 00000000..3dc93494 --- /dev/null +++ b/win32/deps/win-iconv/build-x64.bat @@ -0,0 +1,31 @@ +:: run this from a VS x64 command prompt +@echo off + +SET PACKAGE_NAME=win-iconv-0.0.4 + +set ICONV_SRC=%cd% +set ICONV_DEST=%cd%-x64 +del CMakeCache.txt +rmdir /q /s CMakeFiles +cmake -G "NMake Makefiles" -DCMAKE_INSTALL_PREFIX=%ICONV_DEST% -DCMAKE_BUILD_TYPE=Release +nmake clean +nmake +echo.Press return when ready to install! +pause + +nmake install +mkdir %ICONV_DEST%\share +mkdir %ICONV_DEST%\share\doc +mkdir %ICONV_DEST%\share\doc\win-iconv +copy COPYING %ICONV_DEST%\share\doc\win-iconv +nmake clean + +cd %ICONV_DEST% +set PATH=%PATH%;%ProgramFiles%\7-zip +del ..\%PACKAGE_NAME%-x64.7z +7z a ..\%PACKAGE_NAME%-x64.7z * +cd %ICONV_SRC% +rmdir /q /s %ICONV_DEST% + +echo.Finished! +pause diff --git a/win32/deps/win-iconv/build-x86.bat b/win32/deps/win-iconv/build-x86.bat new file mode 100644 index 00000000..7f5a8e73 --- /dev/null +++ b/win32/deps/win-iconv/build-x86.bat @@ -0,0 +1,31 @@ +:: run this from a VS x86 command prompt +@echo off + +SET PACKAGE_NAME=win-iconv-0.0.4 + +set ICONV_SRC=%cd% +set ICONV_DEST=%cd%-x86 +del CMakeCache.txt +rmdir /q /s CMakeFiles +cmake -G "NMake Makefiles" -DCMAKE_INSTALL_PREFIX=%ICONV_DEST% -DCMAKE_BUILD_TYPE=Release +nmake clean +nmake +echo.Press return when ready to install! +pause + +nmake install +mkdir %ICONV_DEST%\share +mkdir %ICONV_DEST%\share\doc +mkdir %ICONV_DEST%\share\doc\win-iconv +copy COPYING %ICONV_DEST%\share\doc\win-iconv +nmake clean + +cd %ICONV_DEST% +set PATH=%PATH%;%ProgramFiles%\7-zip +del ..\%PACKAGE_NAME%-x86.7z +7z a ..\%PACKAGE_NAME%-x86.7z * +cd %ICONV_SRC% +rmdir /q /s %ICONV_DEST% + +echo.Finished! +pause |