Add info about building as a dune module.

This commit is contained in:
Atgeirr Flø Rasmussen 2012-10-08 11:35:32 +02:00
parent d799898aec
commit 927f33349d

15
README
View File

@ -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