#!/bin/bash # Exit on error set -e # Create build directory if it doesn't exist mkdir -p build # Enter build directory cd build # Run CMake cmake .. # Build the project make -j$(nproc) echo "Build completed successfully!" echo "The executable is located at: $(pwd)/simple_object_storage_template_registry"