forked from Research/WhisperCom
Dominik Meyer
f637c3cee6
git-subtree-dir: libs/loguru git-subtree-split: 9c2fea0d4530657f23259be4132f8101c98b579e
22 lines
441 B
Bash
Executable File
22 lines
441 B
Bash
Executable File
#!/bin/bash
|
|
set -e # Fail on error
|
|
|
|
ROOT_DIR=$(cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd)
|
|
|
|
cd "$ROOT_DIR"
|
|
mkdir -p build
|
|
cd build
|
|
|
|
cmake ..
|
|
|
|
# Use GCC:
|
|
# cmake -DCMAKE_C_COMPILER=/usr/bin/gcc -DCMAKE_CXX_COMPILER=/usr/bin/g++ ..
|
|
|
|
# Use GCC5:
|
|
# cmake -DCMAKE_C_COMPILER=/usr/bin/gcc-5 -DCMAKE_CXX_COMPILER=/usr/bin/g++-5 ..
|
|
|
|
# Use clang-3.7:
|
|
# cmake -DCMAKE_C_COMPILER=/usr/bin/clang-3.7 -DCMAKE_CXX_COMPILER=/usr/bin/clang++-3.7 ..
|
|
|
|
make
|