sword_game/setup.sh
2026-02-04 12:49:42 +00:00

18 lines
292 B
Bash
Executable file

#!/bin/bash
set -e
echo "Starting project setup..."
if [ ! -d "build" ]; then
mkdir build
echo "Created build directory."
fi
cd build
cmake .. -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
echo "CMake configuration complete."
cd ..
ln -sf build/compile_commands.json compile_commands.json