From 927f33349d0ef5e4b7c28d38b5b2dc0729620dfe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Atgeirr=20Fl=C3=B8=20Rasmussen?= Date: Mon, 8 Oct 2012 11:35:32 +0200 Subject: [PATCH] Add info about building as a dune module. --- README | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README b/README index f0314100..ae7ebe30 100644 --- a/README +++ b/README @@ -88,10 +88,25 @@ If you want to contribute, fork OPM/opm-core on github. BUILDING -------- +There are two ways to build the opm-core library: + +1. As a stand-alone library. cd opm-core autoreconf -i ./configure make +If you want to install the library: + make install +or (if installing to /usr/local or similar) + sudo make install + +2. As a dune module. + - Put the opm-core directory in the same directory + as the other dune modules to be built (e.g. dune-commmon, + dune-grid). + - Run dunecontrol as normal. For more information on + the dune build system, see + http://www.dune-project.org/doc/installation-notes.html DOCUMENTATION