def METHOD_NAME(self):
    if is_msvc(self):
        tc = NMakeToolchain(self)
        tc.METHOD_NAME()
    else:
        env = VirtualBuildEnv(self)
        env.METHOD_NAME()
        tc = AutotoolsToolchain(self)
        tc.METHOD_NAME()