CheckCXXFeatures¶
Module that checks for supported C++20, C++17 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++20 (c++23, …)
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