os_labs/run_lab.sh

7 lines
163 B
Bash
Raw Normal View History

2020-04-16 15:15:52 +10:00
#!/usr/bin/env bash
set -euo pipefail
IFS=$'\n\t'
cmake -Bbuild -DCMAKE_BUILD_TYPE=Debug -G "CodeBlocks - Unix Makefiles" .
cmake --build build --target "RUN_$1"