master
/ miniconda3 / pkgs / libxml2-2.10.3-hcbfbd50_0 / info / recipe / bld.bat

bld.bat @a663dc1

41a0142
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
cd win32

:: Have to set manifest for VS2008.
:: No idea why, but exe's won't run otherwise.
set MANIFEST=no
if "%VS_MAJOR%" == "9" (
    set MANIFEST=yes
)

cscript configure.js compiler=msvc iconv=yes icu=no zlib=yes lzma=no python=no ^
                     vcmanifest=%MANIFEST% ^
                     prefix=%LIBRARY_PREFIX% ^
                     include=%LIBRARY_INC% ^
                     lib=%LIBRARY_LIB%

if errorlevel 1 exit 1

nmake /f Makefile.msvc
if errorlevel 1 exit 1

nmake /f Makefile.msvc install
if errorlevel 1 exit 1

:: For some reason the includes get put down one level.
move %LIBRARY_INC%\libxml2\libxml %LIBRARY_INC%
if errorlevel 1 exit 1

rmdir %LIBRARY_INC%\libxml2
del %LIBRARY_PREFIX%\bin\test*.exe || exit 1
del %LIBRARY_PREFIX%\bin\runsuite.exe || exit 1
del %LIBRARY_PREFIX%\bin\runtest.exe || exit 1