Add build scripts & docker scripts
Signed-off-by: Prasanna Bhat <prasanna.yoga@gmail.com>
This commit is contained in:
parent
b46bd7ffff
commit
8fc3f4bc71
6 changed files with 127 additions and 0 deletions
15
scripts/build.sh
Executable file
15
scripts/build.sh
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue