#!/bin/sh
mkdir debug release

# build debug
cd debug
cmake -DCMAKE_BUILD_TYPE=Debug ..
#make -j 3 VERBOSE=1 && make install VERBOSE=1
make -j 3  && make install  
cd ..

# build release
cd release
cmake -DCMAKE_BUILD_TYPE=Release ..
#make -j 3 VERBOSE=1 && make install VERBOSE=1
make -j 3  && make install  
cd ..
 
