Debian Codegraph @

.circleci/build-core.sh

raw
1 #!/bin/bash
2
3 set -x -e
4
5 FLAGS="-DCMAKE_INSTALL_PREFIX=/usr/local -DFIX_WARNINGS=ON -DCMAKE_BUILD_TYPE=$1"
6 FLAGS+=" -DINDI_BUILD_UNITTESTS=ON"
7
8 # Build everything on master
9 echo "==> Building INDI Core"
10 mkdir -p build/indi-core
11 pushd build/indi-core
12 cmake $FLAGS . ../../
13 make
14 make install
15 popd
16
17 exit 0