16 lines
218 B
Bash
Executable file
16 lines
218 B
Bash
Executable file
#!/bin/bash
|
|
set -ex
|
|
|
|
pushd "${0%/*}"
|
|
if [[ -d "build" ]]; then
|
|
rm -r build
|
|
fi
|
|
mkdir build
|
|
pushd build
|
|
|
|
export CC=clang
|
|
export CXX=clang++
|
|
export CFLAGS="-ggdb -O0"
|
|
export CXXFLAGS="-ggdb -O0"
|
|
cmake ..
|
|
make -j$(nproc) |