def METHOD_NAME(self):
    cmake = CMake(self)
    cmake.definitions["THREADSAFE"] = self.options.threadsafe
    cmake.definitions["USE_SSH"] = self.options.with_libssh2
    cmake.definitions["USE_ICONV"] = self.options.get_safe("with_iconv", False)
    cmake.definitions["USE_HTTPS"] = self._cmake_https[str(self.options.with_https)]
    cmake.definitions["SHA1_BACKEND"] = self._cmake_sha1[str(self.options.with_sha1)]
    cmake.definitions["BUILD_CLAR"] = False
    cmake.definitions["BUILD_EXAMPLES"] = False
    if is_msvc(self):
        cmake.definitions["STATIC_CRT"] = is_msvc_static_runtime(self)
    cmake.configure()
    return cmake