@@ -28,6 +28,8 @@ Install-Prebuilt include\glib-2.0
2828$zlib = " build\zlib-1.2.11"
2929cd $zlib
3030nmake -f win32\Makefile.msc MACHINE= x64
31+ # Comment previous and uncomment next line for debug build
32+ # nmake -f win32\Makefile.msc MACHINE=x64 /MDd
3133cd ..\..
3234copy " $zlib \zlib.h" " $installFolder \include"
3335copy " $zlib \zconf.h" " $installFolder \include"
@@ -36,15 +38,19 @@ copy "$zlib\zlib.lib" "$installFolder\lib\zlib_a.lib"
3638# Compile and install libcurl.
3739$curl = " build\curl-7.37.0"
3840cd " $curl \winbuild"
39- nmake -f Makefile.vc mode= static WITH_DEVEL= $installFolder WITH_ZLIB= static ENABLE_IDN= no MACHINE= x64
41+ nmake -f Makefile.vc mode= static WITH_DEVEL= $installFolder WITH_ZLIB= static ENABLE_IDN= no DEBUG= no MACHINE= x64
42+ # Comment previous and uncomment next line for debug build
43+ # nmake -f Makefile.vc mode=static WITH_DEVEL=$installFolder WITH_ZLIB=static ENABLE_IDN=no MACHINE=x64
4044cd ..\..\..
4145copy " $curl \builds\libcurl-vc-x64-release-static-zlib-static-ipv6-sspi-spnego-winssl\lib\libcurl_a.lib" " $installFolder \lib"
4246xcopy / s " $curl \builds\libcurl-vc-x64-release-static-zlib-static-ipv6-sspi-spnego-winssl\include" " $installFolder \include"
4347
4448# Compile and install libxml.
4549$libxml2 = " build\libxml2-2.9.4"
4650cd " $libxml2 \win32"
47- cscript configure.js include= " $installFolder \include" lib= " $installFolder \lib" iconv= no
51+ cscript configure.js include= " $installFolder \include" lib= " $installFolder \lib" iconv= no debug= no
52+ # Comment previous and uncomment next line for debug build
53+ # cscript configure.js include="$installFolder\include" lib="$installFolder\lib" iconv=no
4854nmake -f Makefile.msvc MACHINE= x64
4955cd ..\..\..
5056copy " $libxml2 \win32\bin.msvc\libxml2_a.lib" " $installFolder \lib"
0 commit comments