BuildSettingsTemplate

This keeps general information about how to build a package. It contains functions to create a specific BuildSetting, targeted at a certain BuildPlatform.

struct BuildSettingsTemplate {
Dependency[string] dependencies;
string systemDependencies;
TargetType targetType;
string targetPath;
string targetName;
string workingDirectory;
string mainSourceFile;
string[string] subConfigurations;
string[][string] dflags;
string[][string] lflags;
string[][string] libs;
string[][string] sourceFiles;
string[][string] sourcePaths;
string[][string] excludedSourceFiles;
string[][string] copyFiles;
string[][string] versions;
string[][string] debugVersions;
string[][string] importPaths;
string[][string] stringImportPaths;
string[][string] preGenerateCommands;
string[][string] postGenerateCommands;
string[][string] preBuildCommands;
string[][string] postBuildCommands;
BuildRequirements[string] buildRequirements;
BuildOptions[string] buildOptions;
}

Members

Functions

getPlatformSettings
void getPlatformSettings(ref BuildSettings dst, in BuildPlatform platform, Path base_path)

Constructs a BuildSettings object from this template.

Meta