mirror of
https://github.com/hexchat/hexchat.git
synced 2024-11-06 19:22:39 +01:00
20 lines
766 B
Batchfile
20 lines
766 B
Batchfile
@echo off
|
|
set TARGET="LibXML-WDK 2.7.8 x86.7z"
|
|
set WDK_ROOT=c:\WinDDK\7600.16385.1
|
|
set INCLUDE=%WDK_ROOT%\inc\api;%WDK_ROOT%\inc\crt
|
|
set LIB=%WDK_ROOT%\lib\wxp\i386;%WDK_ROOT%\lib\Crt\i386
|
|
set PATH=%PROGRAMFILES(X86)%\Microsoft Visual Studio 10.0\VC\bin;%PROGRAMFILES(X86)%\Microsoft Visual Studio 10.0\Common7\IDE;%PROGRAMFILES(X86)%\Microsoft SDKs\Windows\v7.0A\Bin;%SystemRoot%\system32
|
|
cscript configure.js compiler=msvc iconv=no iso8859x=yes
|
|
nmake /nologo /f Makefile.msvc clean
|
|
nmake /nologo /f Makefile.msvc
|
|
rmdir /q /s bin
|
|
rmdir /q /s include
|
|
rmdir /q /s lib
|
|
nmake /nologo /f Makefile.msvc install
|
|
move lib\libxml2.dll bin
|
|
copy /y ..\COPYING LICENSE.LIBXML
|
|
set PATH=%PATH%;%PROGRAMW6432%\7-Zip
|
|
del %TARGET%
|
|
7z a %TARGET% bin include lib LICENSE.LIBXML
|
|
pause
|