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] extraDependencyFiles;
string[][string] versions;
string[][string] debugVersions;
string[][string] versionFilters;
string[][string] debugVersionFilters;
string[][string] importPaths;
string[][string] stringImportPaths;
string[][string] preGenerateCommands;
string[][string] postGenerateCommands;
string[][string] preBuildCommands;
string[][string] postBuildCommands;
string[][string] preRunCommands;
string[][string] postRunCommands;
BuildRequirements[string] buildRequirements;
BuildOptions[string] buildOptions;
}

Members

Functions

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

Constructs a BuildSettings object from this template.

Meta