Brainfuck Interpreter
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

10 lines
268 B

#!/usr/bin/env sh
dir="$(dirname $(realpath "$0"))"
cmake -S "${dir}" -B "${dir}/build" \
-DCMAKE_BUILD_TYPE:STRING=Release \
-DCMAKE_EXPORT_COMPILE_COMMANDS=1
cmake --build "${dir}/build"
mv -f "${dir}/build/compile_commands.json" "${dir}/compile_commands.json"