From c268bf58a222e407f7595d24d92a3f5784973721 Mon Sep 17 00:00:00 2001 From: bastard <134429563+RustoMCSpit@users.noreply.github.com> Date: Fri, 16 Aug 2024 21:03:43 +0100 Subject: [PATCH 1/2] Update .gitmodules --- .gitmodules | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitmodules b/.gitmodules index 663ebaf..bdcc964 100644 --- a/.gitmodules +++ b/.gitmodules @@ -10,3 +10,7 @@ path = cmake url = https://github.com/sudara/cmake-includes.git branch = main +[submodule "libs/clap-juce-extensions"] + path = libs/clap-juce-extensions + url = https://github.com/free-audio/clap-juce-extensions.git + branch = main From 068049cfc621e4ae054f40d4298a682ceb272498 Mon Sep 17 00:00:00 2001 From: bastard <134429563+RustoMCSpit@users.noreply.github.com> Date: Fri, 16 Aug 2024 21:08:37 +0100 Subject: [PATCH 2/2] Update CMakeLists.txt --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 55481d0..ab3b2e4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -44,6 +44,7 @@ include(JUCEDefaults) # and later `git submodule update --remote --merge` to keep it up to date # On Github Actions, this is done as a part of actions/checkout add_subdirectory(JUCE) +add_subdirectory(libs/clap-juce-extensions EXCLUDE_FROM_ALL) # Add any other modules you want modules here, before the juce_add_plugin call # juce_add_module(modules/my_module) @@ -80,6 +81,10 @@ juce_add_plugin("${PROJECT_NAME}" # You might want to use v${MAJOR_VERSION} here once you go to v2... PRODUCT_NAME "${PRODUCT_NAME}") +clap_juce_extensions_plugin(TARGET "${PROJECT_NAME}" + CLAP_ID "com.jerryuhoo.Fire" + CLAP_FEATURES "audio-effect") + # This lets us use our code in both the JUCE targets and our Test target # Without running into ODR violations add_library(SharedCode INTERFACE)