Common components for OPM, in particular build system (cmake).
Go to file
Jørgen Kvalsvik e884b0664c Redesign cmake
Tune the makefile according to new principles, which adds a few bells
and whistles and for clarity.

Synopsis:

* The dependency on opm-common is completely gone. This is reflected in
  travis and appveyor as well. No non-kitware cmake modules are used.
* Directories are flattened, quite a bit - source code is located in the
  lib/ directory if it belongs to opm-parser, and external/ if third
  party.
* The sibling build feature is implemented through cmake's
  export(PACKAGE) rather than implicitly looking through source files.
* Targets explicitly set required public and private include
  directories, compile options and definitions, which cmake will handle
  and propagate
* opm-parser-config.cmake for downstream users is now provided.
* Dependencies are set up using targets. In the future, when cmake 3.x+
  can be used, these should be either targets from newer Find modules,
  or interface libraries.
* Fewer system specific assumptions are coded in, instead we assume
  cmake or users set up system specific details.
* All module wide configuration and looking up libraries is handled in
  the root makefile - all sub directories only set up libraries and
  compile options for the module in question.
* Targets are defined and links handled transitively because cmake now
  is told about them. ${module_LIBRARIES} variables are gone.

This is largely guided by the principles outlined in
https://rix0r.nl/blog/2015/08/13/cmake-guide/

Most source files are just moved - if they have some content change then
it's nothing more than include fixes or similar in order to make them
compile.
2017-06-01 15:29:23 +02:00
applications Redesign cmake 2017-06-01 15:29:23 +02:00
cmake Check for symlink() and compile test conditionally 2016-06-11 07:45:24 +02:00
docs typo 2015-06-18 12:06:38 +02:00
examples Redesign cmake 2017-06-01 15:29:23 +02:00
external/cjson Redesign cmake 2017-06-01 15:29:23 +02:00
opm Redesign cmake 2017-06-01 15:29:23 +02:00
src/opm Redesign cmake 2017-06-01 15:29:23 +02:00
tests Redesign cmake 2017-06-01 15:29:23 +02:00
travis Travis: opm-common/travis/build-and-test.sh 2016-06-10 11:43:11 +02:00
.gitignore Substantial edits to Eclipse3DProperties 2016-04-12 14:42:18 +02:00
.travis.yml Redesign cmake 2017-06-01 15:29:23 +02:00
appveyor.yml Redesign cmake 2017-06-01 15:29:23 +02:00
changelog.md Changelog December 2016 2017-01-03 10:48:10 +01:00
configure changed: sync with renaming to opm-common 2015-09-08 10:34:45 +02:00