summary refs log tree commit diff stats
path: root/win32/deps/gettext-runtime/build-x64.bat
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-09-28 22:27:58 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-09-28 22:27:58 +0200
commitb3d00a8dc03944010bc9818f343d354d70719786 (patch)
tree1c961c099f6f8d9467bbbf1fa2f4619f3f72576f /win32/deps/gettext-runtime/build-x64.bat
parent179a1db89a26b2e37a3f7ea1dfa092825995d004 (diff)
Add gettext-runtime build scripts and patches
Diffstat (limited to 'win32/deps/gettext-runtime/build-x64.bat')
-rw-r--r--win32/deps/gettext-runtime/build-x64.bat28
1 files changed, 28 insertions, 0 deletions
diff --git a/win32/deps/gettext-runtime/build-x64.bat b/win32/deps/gettext-runtime/build-x64.bat
new file mode 100644
index 00000000..c3a5a810
--- /dev/null
+++ b/win32/deps/gettext-runtime/build-x64.bat
@@ -0,0 +1,28 @@
+:: run this from a VS x64 command prompt

+@echo off

+

+SET PACKAGE_NAME=gettext-runtime-0.18

+

+set GETTEXT_SRC=%cd%

+set GETTEXT_DEST=%cd%-x64

+del CMakeCache.txt

+rmdir /q /s CMakeFiles

+cmake -G "NMake Makefiles" -DCMAKE_INSTALL_PREFIX=%GETTEXT_DEST% -DCMAKE_BUILD_TYPE=Release -DICONV_INCLUDE_DIR=%GETTEXT_SRC%\..\build\x64\include -DICONV_LIBRARIES=%GETTEXT_SRC%\..\build\x64\lib\iconv.lib

+nmake clean

+nmake

+echo.Press return when ready to install!

+pause

+

+nmake install

+nmake clean

+copy COPYING %GETTEXT_DEST%\LICENSE.GETTEXT

+

+cd %GETTEXT_DEST%

+set PATH=%PATH%;%ProgramFiles%\7-zip

+del ..\%PACKAGE_NAME%-x64.7z

+7z a ..\%PACKAGE_NAME%-x64.7z *

+cd %GETTEXT_SRC%

+rmdir /q /s %GETTEXT_DEST%

+

+echo.Finished!

+pause