Commit Graph

6 Commits

Author SHA1 Message Date
Roland Kaufmann
39758ab13b Revert clever setting of version number in dune.module
dunecontrol will read the dune.module file first, before calling any
configuration files; thus it cannot be initialized from the script
but the version numbers must be hardcoded here and updated manually.
2013-02-11 23:06:37 +01:00
Roland Kaufmann
af014936cc Create DUNE module file from CMake properties
That will save us from keeping the files in sync manually.
2013-02-11 22:38:00 +01:00
Roland Kaufmann
d193938597 Set version number to 1.0 in anticipation of release
Version numbers for the library follow ABI-style and is independent
of the ones for releases. If the interface breaks, we change the
soversion, regardless of the timing of the releases.
2013-02-11 22:37:58 +01:00
Roland Kaufmann
3adbcaad06 Annotate dependencies with version number 2013-02-11 22:37:58 +01:00
Roland Kaufmann
a05ba20165 Provide ability to build in DUNE framework
dunecontrol will look for a file called dune.module and use the
information therein to determine which and in what sequences directories
should be built.

By specifying dune-common and dune-istl as dependencies here, we
ensure that those directories are available before opm-core. They are
not true dependencies; opm-core is usable without them, but if you are
using dunecontrol, then it is a good bet that dune-istl also is
available and desirable to use.
2013-02-11 22:37:57 +01:00
Andreas Lauser
31d0681a66 opm-core: make it a usable in conjunction wit dunecontrol
This allows projects which use the DUNE build system and want to use
OPM-Core to specify a dependency in their dune.module file. (i.e. they
don't have to worry about compiler and linker flags anymore.)

opm-core can still be used without having DUNE installed, though. This
means that for users which do not need/want a dependency on DUNE,
nothing changes.

v2: avoid naming conflict of the AX_BOOST_BASE macro with dune-common
    by renaming it to OPM_BOOST_BASE.
v3: make the library detection work nicely
v4: Use AX_BOOST_BASE M4 macro from opm-core instead from dune-common
    as base for OPM_BOOST_BASE to get rid of a few bugs, reworded
    commit message. Thanks to Bård Skaflestad for the review.
2012-07-02 19:17:25 +02:00