// Copyright (c) 2012-2023 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 list of custom defines passed to the build tool when compiling project scripts. Can be used in build scripts for configuration (Configuration.CustomDefines).
///
[EditorOrder(90), Tooltip("The list of custom defines passed to the build tool when compiling project scripts. Can be used in build scripts for configuration (Configuration.CustomDefines).")]
public string[] CustomDefines;
///
/// The pre-build action command line.
///
[EditorOrder(100)]
public string PreBuildAction;
///
/// The post-build action command line.
///
[EditorOrder(110)]
public string PostBuildAction;
}
}