def METHOD_NAME(self):
    if is_msvc(self):
        tc = MSBuildToolchain(self)
        tc.configuration = self._msbuild_configuration
        tc.properties["WholeProgramOptimization"] = "false"
        tc.METHOD_NAME()
    else:
        env = VirtualBuildEnv(self)
        env.METHOD_NAME()
        tc = AutotoolsToolchain(self)
        tc.METHOD_NAME()
        deps = PkgConfigDeps(self)
        deps.METHOD_NAME()