ProjectDescription

Describes a complete project for use in IDEs or build tools.

The build settings will be specific to the compiler, platform and configuration that has been selected.

Members

Functions

lookupPackage
inout(PackageDescription) lookupPackage(string name)

Projects by name

lookupRootPackage
inout(PackageDescription) lookupRootPackage()

Root package

lookupTarget
inout(TargetDescription) lookupTarget(string name)

Targets by name

Variables

architecture
string[] architecture;

Architecture constants for the selected platform (e.g. ["x86_64"])

buildType
string buildType;

Name of the selected build type

compiler
string compiler;

Canonical name of the compiler used (e.g. "dmd", "gdc" or "ldc")

configuration
string configuration;

Name of the selected build configuration

packages
PackageDescription[] packages;

All packages in the dependency tree

platform
string[] platform;

Platform constants for the selected platform (e.g. ["posix", "osx"])

rootPackage
string rootPackage;

Name of the root package being built

targetLookup
size_t[string] targetLookup;

Target index by package name name

targets
TargetDescription[] targets;

Build targets

Meta