Tests-Release.xcconfig 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. //
  2. // Tests-Release.xcconfig
  3. //
  4. // Generated by BuildSettingExtractor on 02/04/2018
  5. // https://github.com/dempseyatgithub/BuildSettingExtractor
  6. //
  7. #include "Tests-Shared.xcconfig"
  8. // Optimization Level
  9. //
  10. // Specifies the degree to which the generated code is optimized for speed and binary
  11. // size.
  12. //
  13. // * *None:* Do not optimize. [-O0]
  14. // With this setting, the compiler's goal is to reduce the cost of compilation and to
  15. // make debugging produce the expected results. Statements are independent—if you stop
  16. // the program with a breakpoint between statements, you can then assign a new value to
  17. // any variable or change the program counter to any other statement in the function and
  18. // get exactly the results you would expect from the source code.
  19. // * *Fast:* Optimizing compilation takes somewhat more time, and a lot more memory for a
  20. // large function. [-O1]
  21. // With this setting, the compiler tries to reduce code size and execution time,
  22. // without performing any optimizations that take a great deal of compilation time. In
  23. // Apple's compiler, strict aliasing, block reordering, and inter-block scheduling are
  24. // disabled by default when optimizing.
  25. // * *Faster:* The compiler performs nearly all supported optimizations that do not
  26. // involve a space-speed tradeoff. [-O2]
  27. // With this setting, the compiler does not perform loop unrolling or function
  28. // inlining, or register renaming. As compared to the `Fast` setting, this setting
  29. // increases both compilation time and the performance of the generated code.
  30. // * *Fastest:* Turns on all optimizations specified by the `Faster` setting and also
  31. // turns on function inlining and register renaming options. This setting may result in a
  32. // larger binary. [-O3]
  33. // * *Fastest, Smallest:* Optimize for size. This setting enables all `Faster`
  34. // optimizations that do not typically increase code size. It also performs further
  35. // optimizations designed to reduce code size. [-Os]
  36. // * *Fastest, Aggressive Optimizations:* This setting enables `Fastest` but also enables
  37. // aggressive optimizations that may break strict standards compliance but should work
  38. // well on well-behaved code. [-Ofast]
  39. GCC_OPTIMIZATION_LEVEL = fast
  40. // Unroll Loops
  41. //
  42. // Unrolls loops. Unrolling makes the code larger, but may make it faster by reducing the
  43. // number of branches executed.
  44. GCC_UNROLL_LOOPS = YES
  45. // Link-Time Optimization
  46. //
  47. // Enabling this setting allows optimization across file boundaries during linking.
  48. //
  49. // * *No:* Disabled. Do not use link-time optimization.
  50. // * *Monolithic Link-Time Optimization:* This mode performs monolithic link-time
  51. // optimization of binaries, combining all executable code into a single unit and running
  52. // aggressive compiler optimizations.
  53. // * *Incremental Link-Time Optimization:* This mode performs partitioned link-time
  54. // optimization of binaries, inlining between compilation units and running aggressive
  55. // compiler optimizations on each unit in parallel. This enables fast incremental builds
  56. // and uses less memory than Monolithic LTO.
  57. LLVM_LTO = YES
  58. METAL_ENABLE_DEBUG_INFO = NO
  59. // Disable Safety Checks
  60. //
  61. // Disable runtime safety checks when optimizing.
  62. SWIFT_DISABLE_SAFETY_CHECKS = YES
  63. // Swift Optimization Level
  64. //
  65. // * *None:* Compile without any optimization. [-Onone]
  66. // * *Optimize for Speed:* [-O]
  67. // * *Optimize for Size:* [-Osize]
  68. // * *Whole Module Optimization:* [-O -whole-module-optimization]
  69. SWIFT_OPTIMIZATION_LEVEL = -O