opm-simulators/cmake/Modules
Roland Kaufmann 821a53bfbb Probe DUNE module version number from installation
Figure out where the closest dune.module is, and parse it for
information. The defines are added to config.h, so that our code
may behave differently for various versions available.

It actually works for opm-core 1.0 as well, but don't tell anyone;
we rather want people to use opm/core/version.h instead.

If a module has been backported and installed to a directory which
also contains the version number, e.g. /usr/include/dune-2.3, to
avoid clashing with an existing version in /usr/include, then this
part is now stripped from the include directory and added back to
the lib directory where we are looking for dune.module
2013-08-14 23:39:06 +02:00
..
compat-2.8.3 Add CMake backwards compatibility for version < 2.8.3 2013-08-14 23:39:01 +02:00
compat-2.8.5 Import CMake support from OPM-Core 2013-05-15 10:24:52 +02:00
compat-2.8.7 Import CMake support from OPM-Core 2013-05-15 10:24:52 +02:00
AddOptions.cmake Import CMake support from OPM-Core 2013-05-15 10:24:52 +02:00
ConfigVars.cmake Strings must contain ONLY numbers to be integers 2013-08-14 23:39:03 +02:00
dune-cornerpoint-prereqs.cmake List prerequisites for modules in a separate file 2013-08-14 23:39:01 +02:00
DuneCompat.cmake Import CMake support from OPM-Core 2013-05-15 10:24:52 +02:00
Duplicates.cmake Import CMake support from OPM-Core 2013-05-15 10:24:52 +02:00
FindAGMG.cmake Import CMake support from OPM-Core 2013-05-15 10:24:52 +02:00
FindC99.cmake Import CMake support from OPM-Core 2013-05-15 10:24:52 +02:00
FindCXX11Features.cmake Only display an error message if C++11 support is noted as REQUIRED 2013-08-14 23:39:04 +02:00
Finddune-common.cmake Import CMake support from OPM-Core 2013-05-15 10:24:52 +02:00
Finddune-cornerpoint.cmake Get prerequisites from a separate "header" file 2013-08-14 23:39:02 +02:00
Finddune-geometry.cmake Import CMake support from OPM-Core 2013-05-15 10:24:52 +02:00
Finddune-grid.cmake Import CMake support from OPM-Core 2013-05-15 10:24:52 +02:00
Finddune-istl.cmake Import CMake support from OPM-Core 2013-05-15 10:24:52 +02:00
FindEigen3.cmake Search common suffixes for include files 2013-06-25 14:54:22 +02:00
FindERT.cmake Probe again later if ERT isn't found now 2013-08-14 23:39:04 +02:00
Findopm-core.cmake Get prerequisites from a separate "header" file 2013-08-14 23:39:02 +02:00
Findopm-material.cmake Upgrade Findopm-material to use separate prerequisite list 2013-08-14 23:39:06 +02:00
Findopm-polymer.cmake Get prerequisites from a separate "header" file 2013-08-14 23:39:02 +02:00
Findopm-porsol.cmake Get prerequisites from a separate "header" file 2013-08-14 23:39:02 +02:00
Findopm-upscaling.cmake Get prerequisites from a separate "header" file 2013-08-14 23:39:02 +02:00
Findopm-verteq.cmake Use new style of prerequisite declaration 2013-08-14 23:39:04 +02:00
FindSuiteSparse.cmake Import CMake support from OPM-Core 2013-05-15 10:24:52 +02:00
FindSuperLU.cmake Import CMake support from OPM-Core 2013-05-15 10:24:52 +02:00
FindTinyXML.cmake Import CMake support from OPM-Core 2013-05-15 10:24:52 +02:00
LibtoolArchives.cmake Import CMake support from OPM-Core 2013-05-15 10:24:52 +02:00
opm-autodiff-prereqs.cmake List prerequisites for modules in a separate file 2013-08-14 23:39:01 +02:00
opm-core-prereqs.cmake OPM Core uses C++11 features as of commit 562bcf2 2013-08-14 23:39:04 +02:00
opm-material-prereqs.cmake Upgrade Findopm-material to use separate prerequisite list 2013-08-14 23:39:06 +02:00
opm-polymer-prereqs.cmake List prerequisites for modules in a separate file 2013-08-14 23:39:01 +02:00
opm-porsol-prereqs.cmake List prerequisites for modules in a separate file 2013-08-14 23:39:01 +02:00
opm-upscaling-prereqs.cmake List prerequisites for modules in a separate file 2013-08-14 23:39:01 +02:00
opm-verteq-prereqs.cmake List prerequisites for modules in a separate file 2013-08-14 23:39:01 +02:00
OpmCompile.cmake Allow PCH option to be on even if there is no library 2013-08-14 23:39:06 +02:00
OpmDefaults.cmake Recognize Clang to be a GCC-compatible compiler 2013-08-14 23:39:05 +02:00
OpmDistClean.cmake Have distclean target keep up with build improvements 2013-08-14 23:39:05 +02:00
OpmDoc.cmake Import CMake support from OPM-Core 2013-05-15 10:24:52 +02:00
OpmFiles.cmake Support compiling files that are in the attic 2013-08-14 23:39:04 +02:00
OpmFind.cmake Create a set of config variables for implementation 2013-08-14 23:39:06 +02:00
OpmGrid.cmake Import CMake support from OPM-Core 2013-05-15 10:24:52 +02:00
OpmInit.cmake Read the label from project info 2013-08-14 23:39:03 +02:00
OpmInstall.cmake Don't install debug syms for a library that isn't there 2013-08-14 23:39:05 +02:00
OpmKnown.cmake Recognize lib dirs that may be used later 2013-08-14 23:02:40 +02:00
OpmLibMain.cmake Provide hook to configure getting other's version 2013-08-14 23:39:06 +02:00
OpmPackage.cmake Import CMake support from OPM-Core 2013-05-15 10:24:52 +02:00
OpmProject.cmake Import CMake support from OPM-Core 2013-05-15 10:24:52 +02:00
OpmSatellites.cmake Adjusts macro documentation to recent change. 2013-08-14 23:39:02 +02:00
UseCompVer.cmake Recognize Clang to be a GCC-compatible compiler 2013-08-14 23:39:05 +02:00
UseDebugSymbols.cmake Recognize Clang to be a GCC-compatible compiler 2013-08-14 23:39:05 +02:00
UseDuneVer.cmake Probe DUNE module version number from installation 2013-08-14 23:39:06 +02:00
UseDynamicBoost.cmake Import CMake support from OPM-Core 2013-05-15 10:24:52 +02:00
UseFastBuilds.cmake Recognize Clang to be a GCC-compatible compiler 2013-08-14 23:39:05 +02:00
UseFortranWrappers.cmake Import CMake support from OPM-Core 2013-05-15 10:24:52 +02:00
UseMultiArch.cmake Import CMake support from OPM-Core 2013-05-15 10:24:52 +02:00
UseOnlyNeeded.cmake Import CMake support from OPM-Core 2013-05-15 10:24:52 +02:00
UseOpenMP.cmake Recognize Clang to be a GCC-compatible compiler 2013-08-14 23:39:05 +02:00
UseOptimization.cmake Recognize Clang to be a GCC-compatible compiler 2013-08-14 23:39:05 +02:00
UsePrecompHeaders.cmake Recognize Clang to be a GCC-compatible compiler 2013-08-14 23:39:05 +02:00
UseSystemInfo.cmake Import CMake support from OPM-Core 2013-05-15 10:24:52 +02:00
UseVCSInfo.cmake Import CMake support from OPM-Core 2013-05-15 10:24:52 +02:00
UseVersion.cmake Only build before library target if there is any 2013-08-14 23:39:06 +02:00
UseWarnings.cmake Recognize Clang to be a GCC-compatible compiler 2013-08-14 23:39:05 +02:00