Files
panic/clean_run.sh
2026-06-23 15:07:55 +02:00

22 lines
837 B
Bash
Executable File

#!/usr/bin/env bash
set -e
#---------------------------------------------------------------------------------------------------------------------------
# CLEAN BUILD FILES
#---------------------------------------------------------------------------------------------------------------------------
# Removes the CMake build folder.
# This deletes compiled files, cached CMake settings, and the old executable.
rm -rf build
#---------------------------------------------------------------------------------------------------------------------------
# RECONFIGURE, REBUILD, AND RUN
#---------------------------------------------------------------------------------------------------------------------------
# Forward all arguments to run.sh.
#
# Examples:
# ./clean_run.sh
# ./clean_run.sh omp
# ./clean_run.sh omp 4
./run.sh "$@"