Skip to content

Commit

Permalink
Merge pull request #74 from RustoMCSpit/master
Browse files Browse the repository at this point in the history
feat: add CLAP support
  • Loading branch information
jerryuhoo authored Aug 17, 2024
2 parents 99b77ae + 068049c commit a7bb42c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -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
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit a7bb42c

Please sign in to comment.