Building Plugins With Windows

Once you've created the object file containing your plugin functions, you'll need to execute a command like the following to build the plugin file. You'll need to have GNU development tools installed to follow the instructions listed below.


ld -shared -o myPlugin.o myPluginFuncs.o 
 /path/to/breveIDEPlugin.lib [required libraries]

The breveIDEPlugin.lib file is used for building plugins compatible with breveIDE.exe. To build plugins for use with breve.exe, use brevePlugin.lib instead.

The [required libraries] means that you may have to include linker options to include any other libraries that your plugin relies on. For example, if your plugin functions require code from the standard math library, you may need to add -lm.

Though the instructions here are for building plugins with the GNU development tools, the provided header and import libraries should work with other Windows compilers such as MSVC as well.