def generate (self, ps):
        """ Generates all possible targets contained in this project.
        """
        assert isinstance(ps, property_set.PropertySet)
        self.manager_.targets().log(
            "Building project '%s' with '%s'" % (self.name (), str(ps)))
        self.manager_.targets().increase_indent ()

        result = GenerateResult ()

        for t in self.targets_to_build ():
            g = t.generate (ps)
            result.extend (g)

        self.manager_.targets().decrease_indent ()
        return result
def generate ( self , ps ) : assert isinstance ( ps , property_set . PropertySet ) self . manager_ . targets ( ) . log ( "Building project '%s' with '%s'" % ( self . name ( ) , str ( ps ) ) ) self . manager_ . targets ( ) . increase_indent ( ) result = GenerateResult ( ) for t in self . targets_to_build ( ) : g = t . generate ( ps ) result . extend ( g ) self . manager_ . targets ( ) . decrease_indent ( ) return result
Generates all possible targets contained in this project.