def METHOD_NAME(self):
    if self.settings.compiler == "Visual Studio":
        with tools.vcvars(self.settings):
            with tools.environment_append({
                "CC": "cl -nologo",
                "CXX": "cl -nologo",
            }):
                yield
    else:
        yield