PackageDescription

Describes the build settings and meta data of a single package.

This structure contains the effective build settings and dependencies for the selected build platform. This structure is most useful for displaying information about a package in an IDE. Use TargetDescription instead when writing a build-tool.

Members

Variables

active
bool active;

Does this package take part in the build?

authors
string[] authors;
Undocumented in source.
buildRequirements
BuildRequirement[] buildRequirements;
Undocumented in source.
configuration
string configuration;

The configuration that is built

copyFiles
string[] copyFiles;

Files to copy to the target directory

copyright
string copyright;
Undocumented in source.
debugVersions
string[] debugVersions;

D debug version identifiers to set

dependencies
string[] dependencies;
Undocumented in source.
description
string description;
Undocumented in source.
dflags
string[] dflags;

Flags passed to the D compiler

files
SourceFileDescription[] files;

A list of all source/import files possibly used by the package

homepage
string homepage;
Undocumented in source.
importPaths
string[] importPaths;
Undocumented in source.
lflags
string[] lflags;

Flags passed to the linker

libs
string[] libs;

Librariy names to link against (typically using "-l<name>")

license
string license;
Undocumented in source.
mainSourceFile
string mainSourceFile;
Undocumented in source.
name
string name;

Qualified name of the package

options
BuildOption[] options;
Undocumented in source.
path
string path;

Path to the package

postBuildCommands
string[] postBuildCommands;

Commands to execute after every build

postGenerateCommands
string[] postGenerateCommands;

commands executed after creating the description

preBuildCommands
string[] preBuildCommands;

Commands to execute prior to every build

preGenerateCommands
string[] preGenerateCommands;

commands executed before creating the description

stringImportPaths
string[] stringImportPaths;
Undocumented in source.
targetFileName
string targetFileName;
Undocumented in source.
targetName
string targetName;
Undocumented in source.
targetPath
string targetPath;
Undocumented in source.
targetType
TargetType targetType;
Undocumented in source.
version_
Version version_;

Version of the package

versions
string[] versions;

D version identifiers to set

workingDirectory
string workingDirectory;
Undocumented in source.

Meta