This example uses the cmake
build system with an
instance of Drake installed using the
APT package
manager.
Install the drake-dev
APT package by following the instructions found at:
https://drake.mit.edu/apt.html
For this example, also install the build-essential
and cmake
APT packages:
sudo apt-get update
sudo apt-get --no-install-recommends install build-essential cmake
To build the drake_cmake_installed_apt
example:
mkdir build
cd build
cmake ..
make
To run the drake_cmake_installed_apt
tests:
cd build
ctest .