aboutsummaryrefslogtreecommitdiff
path: root/cmake/build_debug.sh
blob: 45dceeb2ec72c83ebe5d36f6ce5e779c74745f79 (plain)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env bash

set -e

scriptpath="$(dirname "$0")"
mkdir -p "$scriptpath/build/debug"
cd "$scriptpath/build/debug"
cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug ../../../
ninja
echo "Debug build success"