Skip to content
Pedro Gonçalves edited this page Apr 30, 2016 · 2 revisions

Building: Eclipse

This tutorial assumes you have read the previous tutorial Obtaining the Source Code.

  1. Create a dedicated folder for DUNE's compiled binaries:
mkdir $HOME/dune/build
  1. Change your current working directory to the folder you just created.
cd $HOME/dune/build
  1. Run CMake to generate GNU Makefiles.
cmake -G "Eclipse CDT4 - Unix Makefiles" ../dune
  1. Start Eclipse IDE and import "An existing project into workspace", selecting the folder $HOME/dune/build.

  2. In Eclipse, right-click the project and select "build project" whenever you want to recompile.