(NativeCpp.BuildOptions options)
| 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 | } |
no outgoing calls
no test coverage detected