#! /usr/bin/env bash project=`pwd`/ buildDir="build/sdl" mkdir -p $buildDir pushd $buildDir cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_BUILD_TYPE=Release $project popd