• Steffen Müthing's avatar
    [CMake] Add function to allow modules to require a minimum C++ standard · c5e82ed2
    Steffen Müthing authored
    This patch adds a new function dune_require_cxx_standard() that any Dune
    module can call to require support for at least a given C++
    standard. If the compiler doesn't meet the requirements, the function
    will report the required and the actually available standard versions
    and abort with a fatal error.
    
    Moreover, it knows about CXX_MAX_STANDARD and will tell the user if the
    value of that variable is below the requirements. This avoids desperate
    users that have a shiny beta of GCC 6 with C++17 support wondering why
    their own module using shiny C++17 concepts stubbornly fails to
    build... ;-)
    c5e82ed2
Name
Last commit
Last update
am Loading commit data...
bin Loading commit data...
cmake Loading commit data...
doc Loading commit data...
dune Loading commit data...
lib Loading commit data...
m4 Loading commit data...
share Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
CMakeLists.txt Loading commit data...
CONTRIBUTING.md Loading commit data...
COPYING Loading commit data...
INSTALL Loading commit data...
LICENSE.md Loading commit data...
Makefile.am Loading commit data...
README.SVN Loading commit data...
README.md Loading commit data...
TODO Loading commit data...
config.h.cmake Loading commit data...
configure.ac Loading commit data...
dune-common.pc.in Loading commit data...
dune.module Loading commit data...
stamp-vc Loading commit data...