NeuralPi

Raspberry Pi guitar pedal using neural networks to emulate real amps and effects
Log | Files | Refs | Submodules | README

commit decee4a347b8d4670cbf29bbc0db76f48e4d498d
parent fb8d6a044bb22c110311cfa1ca0e816640a52c30
Author: Jatin Chowdhury <[email protected]>
Date:   Wed, 21 Jul 2021 11:07:28 -0700

Move JUCE submodule to lv2-porting-project

Diffstat:
M.gitmodules | 3++-
MCMakeLists.txt | 9++++++++-
Mmodules/CMakeLists.txt | 7+------
3 files changed, 11 insertions(+), 8 deletions(-)

diff --git a/.gitmodules b/.gitmodules @@ -3,7 +3,8 @@ url = https://github.com/jatinchowdhury18/RTNeural [submodule "modules/JUCE"] path = modules/JUCE - url = https://github.com/juce-framework/JUCE.git + url = https://github.com/lv2-porting-project/JUCE.git + branch = lv2 [submodule "modules/json"] path = modules/json url = https://github.com/nlohmann/json.git diff --git a/CMakeLists.txt b/CMakeLists.txt @@ -10,12 +10,19 @@ add_subdirectory(modules/RTNeural) add_subdirectory(modules) include_directories(modules) +set(JUCE_FORMATS AU VST3 Standalone) + +# Build LV2 only on Linux +if(UNIX AND NOT APPLE) + message(STATUS "Building LV2 plugin format") + list(APPEND JUCE_FORMATS LV2) +endif() juce_add_plugin(NeuralPi COMPANY_NAME GuitarML PLUGIN_MANUFACTURER_CODE GtML PLUGIN_CODE Npi3 - FORMATS AU VST3 Standalone LV2 + FORMATS ${JUCE_FORMATS} ProductName "NeuralPi" LV2_URI https://github.com/GuitarML/NeuralPi ICON_BIG resources/logo.png diff --git a/modules/CMakeLists.txt b/modules/CMakeLists.txt @@ -1,9 +1,4 @@ -# use DISTRHO-JUCE on Linux to support LV2 -if(UNIX AND NOT APPLE) - add_subdirectory(DISTRHO-JUCE) -else() - add_subdirectory(JUCE) -endif() +add_subdirectory(JUCE) include(cmake/SubprojectVersion.cmake) subproject_version(JUCE juce_version)