oranges_install_plugin

include (OrangesInstallFunctions)

View the full docs for this module.

oranges_install_plugin (<targetName>
                       [INSTALLER_TARGET <target>]
                       [OUTPUT_DIR <path>])

Creates install rules for a JUCE plugin target. <targetName> should be the name of your plugin’s shared code target, the same name you passed to juce_add_plugin. This function will create install rules for each of the plugin’s format targets, and can optionally create a custom target to drive running CPack to build a product-specific installer.

Options:

INSTALLER_TARGET

If this is specified, this function will create a custom target named <target> that drives running CPack to build an installer that contains only this plugin’s components.

OUTPUT_DIR

This can be used to specify where the product-specific installer built by the INSTALLER_TARGET should be generated. If not specified, this defaults to ${CMAKE_CURRENT_BINARY_DIR}/deploy.