#!/bin/sh
mkdir debug-hbd release-hbd

# build debug
cd debug-hbd
cmake -D CMAKE_BUILD_TYPE=Debug -D HIGH_BIT_DEPTH=1  ..
#make -j 3 VERBOSE=1 && make install VERBOSE=1
make -j 3  && make install  
cd ..

# build release
cd release-hbd
cmake -D CMAKE_BUILD_TYPE=Release -D HIGH_BIT_DEPTH=1  ..
#make -j 3 VERBOSE=1 && make install VERBOSE=1
make -j 3  && make install  
cd ..
