diff --git a/doc/advanced-topics.rst b/doc/advanced-topics.rst index 14a4e8ff..fc2b7009 100644 --- a/doc/advanced-topics.rst +++ b/doc/advanced-topics.rst @@ -110,15 +110,22 @@ to the definition of a build context. - the name of an alternative toolchain Note that at the moment, there is no official support for -cross-compilation in OCaml. Jbuilder supports the two following -opam-cross-x repositories: +cross-compilation in OCaml. Jbuilder supports the opam-cross-x +repositories from the `ocaml-cross organization on github +`, such as: -- `opam-cross-windows `_ -- `opam-cross-android `_ +- `opam-cross-windows `_ +- `opam-cross-android `_ +- `opam-cross-ios `_ -To build Windows binaries using opam-cross-windows, write ``windows`` -in the list of targets. To build Android binaries using -opam-cross-android, write ``android`` in the list of targets. +In particular: + +- to build Windows binaries using opam-cross-windows, write ``windows`` + in the list of targets +- to build Android binaries using opam-cross-android, write + ``android`` in the list of targets +- to build Android binaries using opam-cross-ios, write ``ios`` in the + list of targets For example, the following workspace file defines three different targets for the ``default`` build context: