MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / SetupTargetEnvironment

Method SetupTargetEnvironment

Source/FlaxGame.Build.cs:46–62  ·  view source on GitHub ↗

(BuildOptions options)

Source from the content-addressed store, hash-verified

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}

Callers

nothing calls this directly

Calls 1

ToStringMethod · 0.45

Tested by

no test coverage detected