Skip to content

Commit adafa47

Browse files
committed
Add CLAP support
1 parent 2b0a651 commit adafa47

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

.gitmodules

+4
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,7 @@
1010
path = cmake
1111
url = https://github.com/sudara/cmake-includes.git
1212
branch = main
13+
[submodule "modules/clap-juce-extensions"]
14+
path = modules/clap-juce-extensions
15+
url = https://github.com/free-audio/clap-juce-extensions.git
16+
branch = main

CMakeLists.txt

+8
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ project(${PROJECT_NAME} VERSION ${CURRENT_VERSION})
4646
# On Github Actions, this is done as a part of actions/checkout
4747
add_subdirectory(JUCE)
4848

49+
# Add CLAP format
50+
add_subdirectory(modules/clap-juce-extensions EXCLUDE_FROM_ALL)
51+
4952
# Add any other modules you want modules here, before the juce_add_plugin call
5053
# juce_add_module(modules/my_module)
5154

@@ -85,9 +88,14 @@ juce_add_plugin("${PROJECT_NAME}"
8588
# Without running into ODR violations
8689
add_library(SharedCode INTERFACE)
8790

91+
clap_juce_extensions_plugin(TARGET "${PROJECT_NAME}"
92+
CLAP_ID "${BUNDLE_ID}"
93+
CLAP_FEATURES audio-effect)
94+
8895
# Enable fast math, C++20 and a few other target defaults
8996
include(SharedCodeDefaults)
9097

98+
9199
# Manually list all .h and .cpp files for the plugin
92100
# If you are like me, you'll use globs for your sanity.
93101
# Just ensure you employ CONFIGURE_DEPENDS so the build system picks up changes

modules/clap-juce-extensions

Submodule clap-juce-extensions added at d3bc57b

0 commit comments

Comments
 (0)