• Steffen Müthing's avatar
    [CMake] Clean up the C++ version flag detection and add final test that is always run · 79bd9732
    Steffen Müthing authored
    This patch cleans up the logic of the C++ version flag detection code,
    which had accumulated quite a bit of cruft over time.
    
    Moreover, it also adds a new test for basic C++11 compliance which is
    always run, even if DISABLE_CXX_VERSION_CHECK has been set. I think the
    original code was supposed to also error out in this case, but I didn't
    really do so.
    
    With this patch, DISABLE_CXX_VERSION_CHECK really only disables testing
    for the various -std=c++xy flags, but the build system will now always
    make sure that your compiler runs (at least) in C++11 mode.
    79bd9732
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...