mkdir build_dev_debug && cd build_dev_debug
cmake ..
make
mkdir build_dev_release && cd build_dev_release
cmake .. -DCMAKE_BUILD_TYPE=Release
make
mkdir build_test_debug && cd build_test_debug
cmake .. -DTESTCHAIN=ON
make
mkdir build_test_release && cd build_test_release
cmake .. -DTESTCHAIN=ON -DCMAKE_BUILD_TYPE=Release
make
mkdir build_primary_debug && cd build_primary_debug
cmake .. -DPRIMARYCHAIN=ON
make
mkdir build_primary_release && cd build_primary_release
cmake .. -DPRIMARYCHAIN=ON -DCMAKE_BUILD_TYPE=Release
make