22 lines
837 B
Bash
Executable File
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 "$@" |