Add build scripts & docker scripts

Signed-off-by: Prasanna Bhat <prasanna.yoga@gmail.com>
This commit is contained in:
Prasanna Bhat 2020-04-12 11:23:22 +05:30
parent b46bd7ffff
commit 8fc3f4bc71
6 changed files with 127 additions and 0 deletions

15
scripts/build.sh Executable file
View file

@ -0,0 +1,15 @@
#!/bin/bash
set -e
# It is assumed that this script is called from the root of the project
WORKSPACE=$(pwd)
echo "WORKSPACE is $WORKSPACE"
CYCLONEDDS_INSTALL_PREFIX=$WORKSPACE/build/install/
rm -rf build/
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=$CYCLONEDDS_INSTALL_PREFIX -DBUILD_IDLC=ON ..
cmake --build .
cmake --build . --target install