def METHOD_NAME(self):
    if self.options.shared:
        raise ConanInvalidConfiguration("OpenE57 cannot be built as shared library yet")
    if self.settings.compiler.get_safe("cppstd"):
        tools.check_min_cppstd(self, 17)
    minimum_version = self._minimum_compilers_version.get(str(self.settings.compiler), False)
    if not minimum_version:
        self.output.warn("C++17 support required. Your compiler is unknown. Assuming it supports C++17.")
    elif tools.Version(self.settings.compiler.version) < minimum_version:
        raise ConanInvalidConfiguration("C++17 support required, which your compiler does not support.")