Skip to content

Latest commit

 

History

History
24 lines (13 loc) · 1.24 KB

HowTo-NewPackage.md

File metadata and controls

24 lines (13 loc) · 1.24 KB

How to Create a New Package

To create a new Max package that includes objects written using the Min API you will run a script that provides the requisite scaffolding by copying components from this package and setting up a link to the Min API using Git.

1. Run the package creation script

On the command line run the script passing the path where you wish your new package to be located as an argument. For example, to run the script from the directory where this documentation is located and create package one level up called "foo":

  • script/create_package.rb ../foo

2. Test the new package by building it

  • cd ../foo/build
  • run CMake as appropriate for your platform (see the ReadMe for details)
  • build as documented in the ReadMe
  • run unit tests in the ReadMe
  • try the default foo.hello-world object in Max to make sure it works using the help patcher

3. Begin creating your own objects

This process is documented in the How to Add a New Object to This Package documentation.