OrangesInstallFunctions¶
This module provides the functions oranges_install_plugin()
and oranges_install_app()
.
Functions¶
- oranges_install_plugin¶
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
.
- oranges_install_app¶
oranges_install_app (<targetName> [INSTALLER_TARGET <target>] [OUTPUT_DIR <path>])
Creates install rules for a JUCE GUI application target. This function creates install rules for the app, 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 app.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
.
Cache variables¶
- DEST_APP¶
Default installation destination for GUI applications. This defaults to Applications
on Mac and Program Files
on Windows. Note that this should be a relative path!
- DEST_AU¶
Default installation destination for Audio Unit plugins. This defaults to Library/Audio/Plug-Ins/Components
.
Note that this should be a relative path!
- DEST_VST2¶
Default installation destination for VST2 plugins. This defaults to Library/Audio/Plug-Ins/VST
on Mac and
Program Files/Common Files/VST
on Windows. Note that this should be a relative path!
- DEST_VST3¶
Default installation destination for VST3 plugins. This defaults to Library/Audio/Plug-Ins/VST3
on Mac and
Program Files/Common Files/VST3
on Windows. Note that this should be a relative path!
- DEST_AAX¶
Default installation destination for AAX plugins. This defaults to Library/Application Support/Avid/Audio/Plug-Ins
on Mac and Program Files/Common Files/Avid/Audio/Plug-Ins
on Windows. Note that this should be a relative path!