summary refs log tree commit diff stats
path: root/win32/dep-extract-x86.bat
AgeCommit message (Expand)Author
2012-06-15First bunch of cleanupsBerke Viktor
2012-05-13overwrite 7z items as well and delete ATK translations tooBerke Viktor
2011-12-11restructuringBerke Viktor
text-runtime/build-x64.bat?h=fe-web&id=b3d00a8dc03944010bc9818f343d354d70719786'>b3d00a8d ^
4b699210 ^



b3d00a8d ^
b3d00a8d ^









1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31















                                                                                                                                                                                                              



                                              
            









                                     
:: 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
mkdir %GETTEXT_DEST%\share
mkdir %GETTEXT_DEST%\share\doc
mkdir %GETTEXT_DEST%\share\doc\gettext
copy COPYING %GETTEXT_DEST%\share\doc\gettext
nmake clean

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