ProjectGenerator.generateTargets

Overridden in derived classes to implement the actual generator functionality.

The function should go through all targets recursively. The first target (which is guaranteed to be there) is targets[m_project.rootPackage.name]. The recursive descent is then done using the TargetInfo.linkDependencies list.

This method is also potentially responsible for running the pre and post build commands, while pre and post generate commands are already taken care of by the generate method.

class ProjectGenerator
protected abstract
void
generateTargets

Parameters

settings GeneratorSettings

The generator settings used for this run

targets TargetInfo[string]

A map from package name to TargetInfo that contains all binary targets to be built.

Meta