3from .Makefile
import Makefile
4from .Readme
import Readme
9 Represents the total output generated from the Peano4 data model plus all
10 the operations on it. This is basically a big collection.
20 The clear eliminates all artefacts, but it does not erase the Makefile.
21 This is important as I don't want to loose all the makefile info. If
22 you want to clear the makefile, too, you have to invoke a clear on it.
29 def add(self,artefact,append=True):
36 def generate(self,overwrite,directory,subdirectories=[]):
38 Iterates over all stored artefacts and, hence, finally generates all the
39 C files, makefiles, and so forth.
43 artefact.generate(overwrite,directory)
47 self.
readme.add_package_description( self.
makefile.readme_package_descriptor )
Represents the created Makefile of a Peano 4 project.
Represents the total output generated from the Peano4 data model plus all the operations on it.
clear(self)
The clear eliminates all artefacts, but it does not erase the Makefile.
generate(self, overwrite, directory, subdirectories=[])
Iterates over all stored artefacts and, hence, finally generates all the C files, makefiles,...
add(self, artefact, append=True)
Creates one README for the whole setup, so people can look up what they have actually built.