1
0
Files
epfl_cs451/template_cpp/build.sh
Athanasios Xygkis d52d4fc3a9 Add C/C++ template
2020-09-14 08:56:58 +02:00

14 lines
279 B
Bash
Executable File

#!/bin/bash
set -e
# Change the current working directory to the location of the present file
cd "$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
rm -rf target
mkdir target
cd target
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build .
mv src/da_proc ../bin