// Copyright (c) 2012-2023 Wojciech Figat. All rights reserved. namespace Flax.Build { /// /// The build target that builds the game project modules for standalone game. /// /// public abstract class GameProjectTarget : ProjectTarget { /// public override void Init() { base.Init(); // Setup target properties OutputType = TargetOutputType.Library; ConfigurationName = "Game"; /*// Building game target into single executable LinkType = TargetLinkType.Monolithic; OutputType = TargetOutputType.Executable; Modules.Add("Main");*/ } } /// /// The build target that builds the game project modules for editor. /// /// public abstract class GameProjectEditorTarget : ProjectTarget { /// public override void Init() { base.Init(); // Setup target properties IsEditor = true; OutputType = TargetOutputType.Library; Platforms = new[] { TargetPlatform.Windows, TargetPlatform.Linux, TargetPlatform.Mac, }; Architectures = new[] { TargetArchitecture.x64, TargetArchitecture.ARM64, }; ConfigurationName = "Editor"; GlobalDefinitions.Add("USE_EDITOR"); } } }