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

Method WithSDL

Source/Tools/Flax.Build/Configuration.cs:351–365  ·  view source on GitHub ↗
(NativeCpp.BuildOptions options)

Source from the content-addressed store, hash-verified

349 }
350
351 public static bool WithSDL(NativeCpp.BuildOptions options)
352 {
353 switch (options.Platform.Target)
354 {
355 case TargetPlatform.Windows:
356 return UseSDL && WindowsConfiguration.UseSDL;
357 case TargetPlatform.Mac:
358 return UseSDL && MacConfiguration.UseSDL;
359 case TargetPlatform.Linux:
360 return UseSDL && LinuxConfiguration.UseSDL;
361 case TargetPlatform.Web:
362 return true;
363 default: return false;
364 }
365 }
366 }
367}

Callers 5

SetupMethod · 0.80
SetupLinkFilesArgsMethod · 0.80
SetupEnvironmentMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected