zaphire/Monocle-Engine — pull request #111 by etinquis (2012-02-05 08:27:17+00:00)
Title: Addons structure

This adds an addons directory so that we can add side projects that can be compiled separately and only used if wanted.

New addons can be generated by running premake with the argument --create-addon=ADDON where ADDON is the name of the new addon. The script will create the /Addons/ADDON directory, complete with a premake script to generate a project for the addon with any .cpp/.h files in that dir. The script will then terminate, so you will need to run the premake command again with the regular options to actually generate the project files.

Each addon in the Addons directory gets its own project when the project files are generated, and they get compiled into static libraries named MonocleADDON{Debug}.lib. That way the developer can pick and choose what non-core functionality they want to build and include.