set -e
CMAKE_BIN=cmake
if [ -z "$1" ]; then
    CMAKE_BIN=$1
fi
echo "DEBUG: CMake binary = $CMAKE_BIN"
mkdir -p build
cd build
$CMAKE_BIN ..
$CMAKE_BIN --build .
cd ..

set -e
CMAKE_BIN=cmake
if [ -z "$1" ]; then
else
    CMAKE_BIN=$1
fi
echo "DEBUG: CMake binary = $CMAKE_BIN"
mkdir -p build
cd build
$CMAKE_BIN ..
$CMAKE_BIN --build .
cd ..

Set CMAKE_BIN if $1 has a value
TravisCI: Set CMAKE_BIN if $1 has a value
