def METHOD_NAME(self):
    if self.settings.os == "Windows":
        cmake = CMake(self)
        cmake.configure()
        cmake.METHOD_NAME()
    else:
        autotools = Autotools(self)
        autotools.configure()
        autotools.make()