Skip to content

Instantly share code, notes, and snippets.

@rotu
Created August 19, 2020 15:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rotu/0fb27731a6b9661bc16683fe02128bec to your computer and use it in GitHub Desktop.
Save rotu/0fb27731a6b9661bc16683fe02128bec to your computer and use it in GitHub Desktop.
PREFIX=$PWD/prefix
mkdir $PREFIX
# Fast-CDR
git clone https://github.com/eProsima/Fast-CDR.git
mkdir Fast-CDR/build && cd Fast-CDR/build
cmake .. -DCMAKE_INSTALL_PREFIX="$PREFIX" -DCMAKE_PREFIX_PATH="$PREFIX"
cmake --build . --target install
cd ../..
# Foonathan memory
git clone https://github.com/eProsima/foonathan_memory_vendor.git
cd foonathan_memory_vendor
mkdir build && cd build
cmake .. -DCMAKE_INSTALL_PREFIX="$PREFIX" -DCMAKE_PREFIX_PATH="$PREFIX"
cmake --build . --target install
cd ../..
# Fast-DDS
git clone https://github.com/eProsima/Fast-DDS.git
mkdir Fast-DDS/build && cd Fast-DDS/build
cmake .. -DCMAKE_INSTALL_PREFIX="$PREFIX" -DCMAKE_PREFIX_PATH="$PREFIX"
cmake --build . --target install
cd ../..
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment