def METHOD_NAME(self):
    if self.settings.compiler == "Visual Studio":
        env = {
            "CC": "gcc",
            "CXX": "g++",
            "LD": "ld",
            "AR": "ar",
        }
        with tools.environment_append(env):
            yield
    else:
        yield