#!/bin/bash if [ -d "build" ]; then cd build cmake --build . cd .. else mkdir build cd build cmake .. cd .. ./build.sh fi