sapphire/tools/generate.sh

6 lines
112 B
Bash
Executable File

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