mirror of
https://github.com/moparisthebest/hexchat
synced 2024-11-29 12:42:16 -05:00
29 lines
737 B
Batchfile
29 lines
737 B
Batchfile
|
:: run this from a VS x86 command prompt
|
||
|
@echo off
|
||
|
|
||
|
SET PACKAGE_NAME=gettext-runtime-0.18
|
||
|
|
||
|
set GETTEXT_SRC=%cd%
|
||
|
set GETTEXT_DEST=%cd%-x86
|
||
|
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\Win32\include -DICONV_LIBRARIES=%GETTEXT_SRC%\..\build\Win32\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%-x86.7z
|
||
|
7z a ..\%PACKAGE_NAME%-x86.7z *
|
||
|
cd %GETTEXT_SRC%
|
||
|
rmdir /q /s %GETTEXT_DEST%
|
||
|
|
||
|
echo.Finished!
|
||
|
pause
|