sapphire/tools/generate.sh
2022-08-03 14:55:04 +00:00

7 lines
130 B
Bash
Executable File

#!/usr/bin/env sh
if [ ! -d build ]
then
mkdir build
fi
cmake -S . -B build -G "${1:-Ninja}" -DCMAKE_BUILD_TYPE="${2:-Debug}"