WowAce.com Knowledge base

Projects / Library Setup

How to properly set up packing with regard to libraries

Whether you want your addon to be shipped with embedded libraries is your own choice. However, you have to properly set up the project so it works in any case.

  • If you want to prevent disembedded-library packages to be created, add the following line to the .pkgmeta file:

enable-nolib-creation: no

  • If you want to allow disembedded-library packages to be created and fully functional, you have to list the embedded libraries as optional dependencies in the TOC file, e.g.:

## OptionalDeps: Ace3, LibSharedMedia-3.0

If you do not perform one of these steps, your addons will probably not work in a disembedded environment.

Facts

Date created
Jul 14, 2010
Last updated
Jul 12, 2011

Author