mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
The modules declare which configuration variables they need to have present in config.h, not only their own but also defined in projects using them. However, a lot of these variables are not actually used in the headers! This changeset removes all HAVE_XXX variables which is not present in any opm/*.h* file in these projects, and thus there is no need for the client to specify. Note that only the variables used by the module *itself* should be listed; the build system will setup the complete list from the prerequisites.
22 lines
643 B
CMake
22 lines
643 B
CMake
# -*- 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
|
|
)
|
|
|
|
# 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"
|
|
)
|