Skip to content

Latest commit

 

History

History

drake_cmake_installed_apt

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

CMake Project with Drake Installed Using APT

This example uses the cmake build system with an instance of Drake installed using the APT package manager.

Instructions

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 .