mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
32 lines
808 B
CMake
32 lines
808 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-material_CONFIG_VAR
|
|
HAVE_NULLPTR
|
|
HAVE_ARRAY
|
|
HAVE_ATTRIBUTE_ALWAYS_INLINE
|
|
HAS_ATTRIBUTE_UNUSED
|
|
HAS_ATTRIBUTE_DEPRECATED
|
|
HAS_ATTRIBUTE_DEPRECATED_MSG
|
|
HAVE_CONSTEXPR
|
|
HAVE_INTEGRAL_CONSTANT
|
|
HAVE_STATIC_ASSERT
|
|
HAVE_VARIADIC_TEMPLATES
|
|
HAVE_VARIADIC_CONSTRUCTOR_SFINAE
|
|
HAVE_RVALUE_REFERENCES
|
|
HAVE_TUPLE
|
|
HAVE_TR1_TUPLE
|
|
)
|
|
|
|
# dependencies
|
|
set (opm-material_DEPS
|
|
# compile with C99 support if available
|
|
"C99"
|
|
# compile with C++0x/11 support if available
|
|
"CXX11Features REQUIRED"
|
|
# DUNE dependency
|
|
"dune-common"
|
|
"dune-istl"
|
|
)
|