def METHOD_NAME(self):
    tc = CMakeToolchain(self)
    if Version(self.version) < "4.0":
        tc.variables["BUILD_EXAMPLES"] = False
        tc.variables["BUILD_UNIT_TESTS"] = False
        tc.variables["BUILD_TOOLS"] = self.options.with_tools
        tc.variables["ENABLE_COROUTINES"] = self.options.with_coroutines
    else:
        tc.variables["BTCPP_SHARED_LIBS"] = self.options.shared
        tc.variables["BTCPP_EXAMPLES"] = False
        tc.variables["BTCPP_UNIT_TESTS"] = False
        tc.variables["BTCPP_BUILD_TOOLS"] = self.options.with_tools
        tc.variables["BTCPP_ENABLE_COROUTINES"] = self.options.with_coroutines
    tc.cache_variables["CMAKE_POLICY_DEFAULT_CMP0077"] = "NEW"
    tc.METHOD_NAME()
    deps = CMakeDeps(self)
    deps.METHOD_NAME()