CheckCXXFeaturesΒΆ

Module that checks for supported C++14, C++11 and non-standard features.

The behaviour of this module can be modified by the following variable:

DISABLE_CXX_VERSION_CHECK
Disable checking for std=c++11 (c++14, c++1y)

This module internally sets the following variables, which are then exported into the config.h of the current dune module.

HAS_ATTRIBUTE_UNUSED
True if attribute unused is supported
HAS_ATTRIBUTE_DEPRECATED
True if attribute deprecated is supported
HAS_ATTRIBUTE_DEPRECATED_MSG
True if attribute deprecated(“msg”) is supported