gov.llnl.babel.backend
Interface BuildGenerator
- DependenciesGenerator, MakefileGenerator, PackageMakeInfoGenerator, SetupGenerator
public interface BuildGenerator
This interface is used by backends to provide the basic information
needed by a build system such as Makefile or Python distutils.
In general, BuildGenerators as a group are invoked after the
CodeGenerators for a given language, but in no particular order.
void | createAll() - Generate the files needed to support the building of Babel generated
files.
|
Set | getLanguages() - Return the set of languages that this build generator serves.
|
createAll
public void createAll()
throws IOException
Generate the files needed to support the building of Babel generated
files. For example, this could create babel.make
files
or a Python setup.py for distutils.
getLanguages
public Set getLanguages()
Return the set of languages that this build generator serves. Each build
generator serves a Set of languages.
- a
java.util.Set
of strings. Each string in the set
represents a language supported by the build generator.