// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved. using System; using FlaxEngine; namespace FlaxEditor.Content.Settings { /// /// A game building target with configuration properties. /// [Serializable, HideInEditor] public class BuildTarget { /// /// The name of the target. /// [EditorOrder(10), Tooltip("Name of the target")] public string Name; /// /// The output folder path. /// [EditorOrder(20), Tooltip("Output folder path")] public string Output; /// /// The target platform. /// [EditorOrder(30), Tooltip("Target platform")] public BuildPlatform Platform; /// /// The configuration mode. /// [EditorOrder(30), Tooltip("Configuration build mode")] public BuildConfiguration Mode; /// /// The pre-build action command line. /// [EditorOrder(100)] public string PreBuildAction; /// /// The post-build action command line. /// [EditorOrder(110)] public string PostBuildAction; /// /// Gets the build options computed from the target configuration. /// [HideInEditor, NoSerialize] public virtual BuildOptions Options => BuildOptions.None; } }