A CMake script for packaging Vamp plugins
This CMake script automatically generates Vamp plugin installation packages for macOS, Windows and Linux operating systems and can automatically sign and notarise packages on macOS and Windows. The variables and options used to configure the packaging and signature are described in the header of the CMake script.
The script can also generate:
- the installation rules for a target
- the debug scheme for a target using the Partiels application
- clang format targets to check and apply the format to the sources
- manual target to generate a PDF from a markdown file
- a CMake test that runs the vamp-plugin-tester application on all the generated plugins
set(VPP_NAME "MySuperProject" CACHE PATH "The name of the project")
set(VPP_COMPANY "MySuperCompany" CACHE PATH "The name of the company")
set(VPP_URL "MySuperWebsite" CACHE PATH "The URL of the project")
...
include(vamp-plugin-packager/vamp-plugin-packager.cmake)
...
vpp_add_plugin(my-vamp-plugin)
vpp_add_file(my-extra-file.txt my-destination-dir)
vpp_set_plugin_debug(my-vamp-plugin "my-partielsdoc.ptldoc")
vpp_set_plugin_install(my-vamp-plugin)
vpp_create_clang_format_targets(my-vamp-plugin ${MY_PLUGIN_SOURCES})
vpp_enable_vamp_plugin_tester()
⚠️ Packaging under Windows requires InnoSetup.
- Vamp Plugin Packager by Pierre Guillot at IRCAM IMR Department
- Vamp SDK by Chris Cannam, copyright (c) 2005-2024 Chris Cannam and Centre for Digital Music, Queen Mary, University of London.