How to Create a New Package
September 23, 2016 ยท View on GitHub
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-worldobject 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.