Camden Dixie O'Brien c58cabd2e6 Replace build scripts with CMake
Rebuilding everything each time was getting a bit slow.
2024-10-27 00:12:57 +01:00

8 lines
182 B
Bash
Executable File

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