The former should invoke declare_artifact for each artifact that should be created from the source. The builder will then invoke build_artifact for each of these declared artifacts if the builder determiend that the artifact needs to be built.
For an example refer to the add_build_program documentation.
Invoked to build a previously declared artifact.
Declares an artifact to build from this program.
Optionally this method can be implemented to produce child sources.
Method that needs to be overridden for the build to work.
A reference to the source object.