Newer
Older
#!/bin/bash
# set link for config files if not already existing
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
DEST=$DIR/CarConfig
LINK=$HOME/CarConfig
echo "ln -s $DEST $HOME"
ln -s $DEST $HOME
fi
# install NetworkingLib
mkdir cmake-build-debug
cd cmake-build-debug
cmake ..
cd ../../PlatoonProtocolLib/
mkdir cmake-build-debug
cd cmake-build-debug
cmake ..
cd ../../PC2CarLib/
mkdir cmake-build-debug
cd cmake-build-debug
cmake ..
# build MessageLib scripts
cd ../../MessageLib/
mkdir cmake-build-debug
cd cmake-build-debug
cmake ..
# build VeloxProtocolLib
cd ../../VeloxProtocolLib/
mkdir cmake-build-debug
cd cmake-build-debug
cmake ..