See the OpenXT wiki for more information. Specifically, see the How to build OpenXT page.
Base OpenXT build scripts