Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 2.3 KB

File metadata and controls

35 lines (25 loc) · 2.3 KB

Building Yarn Spinner

Important: This document only matters to you if you want to build Yarn Spinner from source. In almost all cases, you'll be totally fine with downloading a build, and using that in your project.

Windows and Mac using MonoDevelop

To build Yarn Spinner on Windows or Mac, you'll need MonoDevelop. You can download MonoDevelop for your OS from the MonoDevelop site.

Linux

To build Yarn Spinner on Linux, you can either

Using MonoDevelop

  • Open YarnSpinner.sln.
  • Open the Build menu, and choose Build All.
  • Open the Unity/Assets/Yarn Spinner folder. You'll find a copy of YarnSpinner.dll there.
  • Copy that DLL file wherever you need it.

Building Documentation

Yarn Spinner uses Doxygen to generate DocBook, HTML, LaTeX, RTF, and XML documentation. GNU GLOBAL is also used.

Basic steps to clean out existing documentation, generate new documentation and check the new documentation for generation errors. Note that some ocurrences of the word 'error' will be due to classes/methods etc. of YarnSpinner itself and not an actual error in the documentation.

rm -fr Documentation/{docbook,html,latex,rtf,xml}
doxygen Documentation/Doxyfile > doxyoutput.txt 2>&1
grep -i error doxyoutput.txt

MarkDown documentation is available via conversion of the XML output to Markdown using third party tools such as Pandoc or doxygen2md