swift-support.rst 1.0 KB

1234567891011121314151617181920212223
  1. Swift Language Support
  2. ----------------------
  3. * Preliminary support for the Swift language with the :generator:`Ninja`
  4. generator was added. Use the :envvar:`SWIFTC` environment variable to
  5. specify a compiler.
  6. * Support to emit an output file map was added to enable Swift compilation.
  7. * A target property :prop_tgt:`Swift_DEPENDENCIES_FILE` was added to targets to
  8. indicate where to save the target swift dependencies file. If one is not
  9. specified, it will default to `<TARGET>.swiftdeps`.
  10. * A target property :prop_tgt:`Swift_MODULE_NAME` was added to targets to
  11. indicate the Swift module name. If it is not specified, it will default to
  12. the name of the target.
  13. * A source property :prop_sf:`Swift_DEPENDENCIES_FILE` was added to sources to
  14. indicate where to save the target swift dependencies file. If one is not
  15. specified, it will default to `<OBJECT>.swiftdeps`.
  16. * A source property :prop_sf:`Swift_DIAGNOSTICS_FILE` was added to sources to
  17. indicate where to write the serialised Swift diagnostics.