mkdir build
cd build

:: Configure.
cmake -G "NMake Makefiles" -D CMAKE_INSTALL_PREFIX=%LIBRARY_PREFIX% \
.
if errorlevel 1 exit 1

:: Build.
nmake
if errorlevel 1 exit 1

:: Install.
nmake install
if errorlevel 1 exit 1

mkdir build
cd build

:: Configure.
cmake -G "NMake Makefiles" -D CMAKE_INSTALL_PREFIX=%PREFIX% .
if errorlevel 1 exit 1

:: Build.
nmake
if errorlevel 1 exit 1

:: Install.
nmake install
if errorlevel 1 exit 1

Update Windows build to deal with newline issue
Update Windows build to deal with newline issue
