Skip to content

Instantly share code, notes, and snippets.

@rotu
Created August 19, 2020 15:36
Show Gist options
  • 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