mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
List prerequisites for modules in a separate file
This file can be included both in the project itself, and also in the find module for the library, so that the list of dependencies can be maintained in only one place.
This commit is contained in:
parent
56db862baf
commit
e5d5c40875
24
cmake/Modules/dune-cornerpoint-prereqs.cmake
Normal file
24
cmake/Modules/dune-cornerpoint-prereqs.cmake
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
# -*- mode: cmake; tab-width: 2; indent-tabs-mode: t; truncate-lines: t; compile-command: "cmake -Wdev" -*-
|
||||||
|
# vim: set filetype=cmake autoindent tabstop=2 shiftwidth=2 noexpandtab softtabstop=2 nowrap:
|
||||||
|
|
||||||
|
# defines that must be present in config.h for our headers
|
||||||
|
set (dune-cornerpoint_CONFIG_VAR
|
||||||
|
HAVE_DYNAMIC_BOOST_TEST
|
||||||
|
)
|
||||||
|
|
||||||
|
# dependencies
|
||||||
|
set (dune-cornerpoint_DEPS
|
||||||
|
# compile with C99 support if available
|
||||||
|
"C99"
|
||||||
|
# compile with C++0x/11 support if available
|
||||||
|
"CXX11Features"
|
||||||
|
# various runtime library enhancements
|
||||||
|
"Boost 1.39.0
|
||||||
|
COMPONENTS date_time filesystem system unit_test_framework REQUIRED"
|
||||||
|
# DUNE dependency
|
||||||
|
"dune-common REQUIRED;
|
||||||
|
dune-grid REQUIRED;
|
||||||
|
dune-geometry REQUIRED"
|
||||||
|
# OPM dependency
|
||||||
|
"opm-core REQUIRED"
|
||||||
|
)
|
24
cmake/Modules/opm-autodiff-prereqs.cmake
Normal file
24
cmake/Modules/opm-autodiff-prereqs.cmake
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
# -*- mode: cmake; tab-width: 2; indent-tabs-mode: t; truncate-lines: t; compile-command: "cmake -Wdev" -*-
|
||||||
|
# vim: set filetype=cmake autoindent tabstop=2 shiftwidth=2 noexpandtab softtabstop=2 nowrap:
|
||||||
|
|
||||||
|
# defines that must be present in config.h for our headers
|
||||||
|
set (opm-autodiff_CONFIG_VAR
|
||||||
|
HAVE_DYNAMIC_BOOST_TEST
|
||||||
|
)
|
||||||
|
|
||||||
|
# dependencies
|
||||||
|
set (opm-autodiff_DEPS
|
||||||
|
# Compile with C99 support if available
|
||||||
|
"C99"
|
||||||
|
# Compile with C++0x/11 support if available
|
||||||
|
"CXX11Features"
|
||||||
|
# Various runtime library enhancements
|
||||||
|
"Boost 1.39.0
|
||||||
|
COMPONENTS system unit_test_framework REQUIRED"
|
||||||
|
# DUNE prerequisites
|
||||||
|
"dune-common REQUIRED;
|
||||||
|
dune-istl REQUIRED;
|
||||||
|
opm-core REQUIRED"
|
||||||
|
# Eigen
|
||||||
|
"Eigen3 REQUIRED"
|
||||||
|
)
|
38
cmake/Modules/opm-core-prereqs.cmake
Normal file
38
cmake/Modules/opm-core-prereqs.cmake
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
# -*- mode: cmake; tab-width: 2; indent-tabs-mode: t; truncate-lines: t; compile-command: "cmake -Wdev" -*-
|
||||||
|
# vim: set filetype=cmake autoindent tabstop=2 shiftwidth=2 noexpandtab softtabstop=2 nowrap:
|
||||||
|
|
||||||
|
# defines that must be present in config.h for our headers
|
||||||
|
set (opm-core_CONFIG_VAR
|
||||||
|
HAVE_AGMG
|
||||||
|
HAVE_DUNE_ISTL
|
||||||
|
HAVE_DYNAMIC_BOOST_TEST
|
||||||
|
HAVE_ERT
|
||||||
|
HAVE_SUITESPARSE_UMFPACK_H
|
||||||
|
HAVE_NULLPTR
|
||||||
|
HAVE_STATIC_ASSERT
|
||||||
|
)
|
||||||
|
|
||||||
|
# dependencies
|
||||||
|
set (opm-core_DEPS
|
||||||
|
# compile with C99 support if available
|
||||||
|
"C99"
|
||||||
|
# compile with C++0x/11 support if available
|
||||||
|
"CXX11Features"
|
||||||
|
# various runtime library enhancements
|
||||||
|
"Boost 1.39.0
|
||||||
|
COMPONENTS date_time filesystem system unit_test_framework signals REQUIRED"
|
||||||
|
# matrix library
|
||||||
|
"BLAS REQUIRED"
|
||||||
|
"LAPACK REQUIRED"
|
||||||
|
# Tim Davis' SuiteSparse archive
|
||||||
|
"SuiteSparse COMPONENTS umfpack"
|
||||||
|
# solver
|
||||||
|
"SuperLU"
|
||||||
|
# xml processing (for config parsing)
|
||||||
|
"TinyXML"
|
||||||
|
# Ensembles-based Reservoir Tools (ERT)
|
||||||
|
"ERT"
|
||||||
|
# DUNE dependency
|
||||||
|
"dune-common"
|
||||||
|
"dune-istl"
|
||||||
|
)
|
23
cmake/Modules/opm-polymer-prereqs.cmake
Normal file
23
cmake/Modules/opm-polymer-prereqs.cmake
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
# -*- mode: cmake; tab-width: 2; indent-tabs-mode: t; truncate-lines: t; compile-command: "cmake -Wdev" -*-
|
||||||
|
# vim: set filetype=cmake autoindent tabstop=2 shiftwidth=2 noexpandtab softtabstop=2 nowrap:
|
||||||
|
|
||||||
|
# defines that must be present in config.h for our headers
|
||||||
|
set (opm-polymer_CONFIG_VAR
|
||||||
|
HAVE_DYNAMIC_BOOST_TEST
|
||||||
|
HAVE_ERT
|
||||||
|
)
|
||||||
|
|
||||||
|
# dependencies
|
||||||
|
set (opm-polymer_DEPS
|
||||||
|
# compile with C99 support if available
|
||||||
|
"C99"
|
||||||
|
# compile with C++0x/11 support if available
|
||||||
|
"CXX11Features"
|
||||||
|
# various runtime library enhancements
|
||||||
|
"Boost 1.39.0
|
||||||
|
COMPONENTS date_time filesystem system unit_test_framework REQUIRED"
|
||||||
|
# Ensembles-based Reservoir Tools
|
||||||
|
"ERT"
|
||||||
|
# OPM dependency
|
||||||
|
"opm-core"
|
||||||
|
)
|
25
cmake/Modules/opm-porsol-prereqs.cmake
Normal file
25
cmake/Modules/opm-porsol-prereqs.cmake
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
# -*- mode: cmake; tab-width: 2; indent-tabs-mode: t; truncate-lines: t; compile-command: "cmake -Wdev" -*-
|
||||||
|
# vim: set filetype=cmake autoindent tabstop=2 shiftwidth=2 noexpandtab softtabstop=2 nowrap:
|
||||||
|
|
||||||
|
# defines that must be present in config.h for our headers
|
||||||
|
set (opm-porsol_CONFIG_VAR
|
||||||
|
HAVE_DYNAMIC_BOOST_TEST
|
||||||
|
HAVE_VALGRIND
|
||||||
|
)
|
||||||
|
|
||||||
|
# dependencies
|
||||||
|
set (opm-porsol_DEPS
|
||||||
|
# compile with C99 support if available
|
||||||
|
"C99"
|
||||||
|
# compile with C++0x/11 support if available
|
||||||
|
"CXX11Features"
|
||||||
|
# various runtime library enhancements
|
||||||
|
"Boost 1.39.0
|
||||||
|
COMPONENTS date_time filesystem system unit_test_framework REQUIRED"
|
||||||
|
# DUNE dependency
|
||||||
|
"dune-common REQUIRED;
|
||||||
|
dune-istl REQUIRED;
|
||||||
|
dune-grid REQUIRED;
|
||||||
|
opm-core REQUIRED;
|
||||||
|
dune-cornerpoint REQUIRED"
|
||||||
|
)
|
33
cmake/Modules/opm-upscaling-prereqs.cmake
Normal file
33
cmake/Modules/opm-upscaling-prereqs.cmake
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
# -*- mode: cmake; tab-width: 2; indent-tabs-mode: t; truncate-lines: t; compile-command: "cmake -Wdev" -*-
|
||||||
|
# vim: set filetype=cmake autoindent tabstop=2 shiftwidth=2 noexpandtab softtabstop=2 nowrap:
|
||||||
|
|
||||||
|
# defines that must be present in config.h for our headers
|
||||||
|
set (opm-upscaling_CONFIG_VAR
|
||||||
|
HAVE_DYNAMIC_BOOST_TEST
|
||||||
|
HAVE_LAPACK
|
||||||
|
HAVE_SUPERLU
|
||||||
|
)
|
||||||
|
|
||||||
|
# dependencies
|
||||||
|
set (opm-upscaling_DEPS
|
||||||
|
# compile with C99 support if available
|
||||||
|
"C99"
|
||||||
|
# compile with C++0x/11 support if available
|
||||||
|
"CXX11Features"
|
||||||
|
# various runtime library enhancements
|
||||||
|
"Boost 1.39.0
|
||||||
|
COMPONENTS date_time filesystem system unit_test_framework REQUIRED"
|
||||||
|
# matrix library
|
||||||
|
"BLAS REQUIRED"
|
||||||
|
"LAPACK REQUIRED"
|
||||||
|
# solver
|
||||||
|
"SuperLU"
|
||||||
|
# DUNE dependency
|
||||||
|
"dune-common REQUIRED;
|
||||||
|
dune-istl REQUIRED;
|
||||||
|
dune-geometry REQUIRED;
|
||||||
|
dune-grid REQUIRED;
|
||||||
|
opm-core REQUIRED;
|
||||||
|
dune-cornerpoint REQUIRED;
|
||||||
|
opm-porsol REQUIRED"
|
||||||
|
)
|
19
cmake/Modules/opm-verteq-prereqs.cmake
Normal file
19
cmake/Modules/opm-verteq-prereqs.cmake
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
# -*- mode: cmake; tab-width: 2; indent-tabs-mode: t; truncate-lines: t; compile-command: "cmake -Wdev" -*-
|
||||||
|
# vim: set filetype=cmake autoindent tabstop=2 shiftwidth=2 noexpandtab softtabstop=2 nowrap:
|
||||||
|
|
||||||
|
# defines that must be present in config.h for our headers
|
||||||
|
set (opm-verteq_CONFIG_VAR
|
||||||
|
)
|
||||||
|
|
||||||
|
# dependencies
|
||||||
|
set (opm-verteq_DEPS
|
||||||
|
# compile with C99 support if available
|
||||||
|
"C99"
|
||||||
|
# compile with C++0x/11 support if available
|
||||||
|
"CXX11Features"
|
||||||
|
# various runtime library enhancements
|
||||||
|
"Boost 1.39.0
|
||||||
|
COMPONENTS date_time filesystem system unit_test_framework REQUIRED"
|
||||||
|
# OPM dependency
|
||||||
|
"opm-core"
|
||||||
|
)
|
Loading…
Reference in New Issue
Block a user