| 44 | |
| 45 | /// <inheritdoc /> |
| 46 | public override void SetupTargetEnvironment(BuildOptions options) |
| 47 | { |
| 48 | base.SetupTargetEnvironment(options); |
| 49 | |
| 50 | // Build engine as DLL to be linked in the game UWP project |
| 51 | if (options.Platform.Target == TargetPlatform.UWP) |
| 52 | { |
| 53 | options.LinkEnv.Output = LinkerOutput.SharedLibrary; |
| 54 | options.LinkEnv.GenerateWindowsMetadata = true; |
| 55 | options.LinkEnv.GenerateDocumentation = true; |
| 56 | } |
| 57 | |
| 58 | var platformName = options.Platform.Target.ToString(); |
| 59 | var architectureName = options.Architecture.ToString(); |
| 60 | var configurationName = options.Configuration.ToString(); |
| 61 | options.OutputFolder = Path.Combine(Globals.EngineRoot, "Source", "Platforms", platformName, "Binaries", "Game", architectureName, configurationName); |
| 62 | } |
| 63 | } |