use pure config mode. we no longer compile a test application for the libraries, however checks have been tightened by making sure version of all opm modules are the same. this allows for putting prereqs directly in the module repositories
18 lines
579 B
CMake
18 lines
579 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-common_CONFIG_VAR
|
|
"HAS_ATTRIBUTE_UNUSED")
|
|
|
|
# dependencies
|
|
set (opm-common_DEPS
|
|
# compile with C99 support if available
|
|
"C99"
|
|
# compile with C++0x/11 support if available
|
|
"CXX11Features REQUIRED"
|
|
# various runtime library enhancements
|
|
"Boost 1.44.0
|
|
COMPONENTS system unit_test_framework REQUIRED"
|
|
)
|