File: C:/Users/fred/anaconda3/pkgs/yaml-0.2.5-he774522_0/info/recipe/bld.bat
:: MSVC is preferred.
set CC=cl.exe
set CXX=cl.exe
mkdir build
cd build
cmake ^
-G "Ninja" ^
-DCMAKE_INSTALL_PREFIX=%LIBRARY_PREFIX% ^
-DCMAKE_BUILD_TYPE=Release ^
-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=True ^
-DBUILD_SHARED_LIBS=ON ^
%SRC_DIR%
if errorlevel 1 exit 1
:: Build.
cmake --build . --config Release
if errorlevel 1 exit 1
:: Install.
cmake --build . --config Release --target install
if errorlevel 1 exit 1
:: Remove extra output.
del /f "%LIBRARY_PREFIX%\include\config.h"