7 lines
135 B
Bash
Executable File

#!/bin/sh
cd "$(git rev-parse --show-toplevel)"
if [ ! -e build ]; then
cmake -Bbuild -DCMAKE_BUILD_TYPE=Debug
fi
cmake --build build