def METHOD_NAME(self):
    if self.settings.compiler == "Visual Studio":
        with tools.vcvars(self.settings):
            env = {
                "CC": "{} cl -nologo".format(tools.unix_path(self._user_info_build["automake"].compile)),
                "CXX": "{} cl -nologo".format(tools.unix_path(self._user_info_build["automake"].compile)),
                "LD": "{} link -nologo".format(tools.unix_path(self._user_info_build["automake"].compile)),
                "AR": "{} lib".format(tools.unix_path(self._user_info_build["automake"].ar_lib)),
            }
            with tools.environment_append(env):
                yield
    else:
        yield