Skip to content

Commit

Permalink
Integrate sst-jucegui as a dependency (surge-synthesizer#7924)
Browse files Browse the repository at this point in the history
* submodule the thingy

* locally it works

* add the line back in

* skip library if juce is skipped

* update sst-jucegui submodule
  • Loading branch information
shih1 authored Dec 17, 2024
1 parent effb181 commit 8912c90
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,6 @@
[submodule "libs/luajitlib/cmake"]
path = libs/luajitlib/cmake
url = https://github.com/scikit-build/cmake-FindVcvars
[submodule "libs/sst/sst-jucegui"]
path = libs/sst/sst-jucegui
url = git@github.com:surge-synthesizer/sst-jucegui.git
1 change: 1 addition & 0 deletions libs/sst/sst-jucegui
Submodule sst-jucegui added at 96985a
2 changes: 2 additions & 0 deletions src/common/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ surge_add_lib_subdirectory(sst/sst-cpputils)
surge_add_lib_subdirectory(sst/sst-plugininfra)
surge_add_lib_subdirectory(sst/sst-filters)
surge_add_lib_subdirectory(sst/sst-waveshapers)

target_compile_definitions(sst-waveshapers INTERFACE SURGE_XT_1X_WST=1)
surge_add_lib_subdirectory(sst/sst-effects)

Expand All @@ -41,6 +42,7 @@ set(PEGTL_BUILD_EXAMPLES OFF CACHE BOOL "")
surge_add_lib_subdirectory(PEGTL)

if(NOT SURGE_SKIP_JUCE_FOR_RACK)
surge_add_lib_subdirectory(sst/sst-jucegui)
juce_add_binary_data(surge-common-binary
NAMESPACE SurgeSharedBinary
HEADER_NAME SurgeSharedBinary.h
Expand Down
1 change: 1 addition & 0 deletions src/surge-fx/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ target_link_libraries(${PROJECT_NAME} PRIVATE
surge::surge-common
surge-fx-binary
surge-juce
sst-jucegui
juce::juce_audio_utils
juce::juce_audio_processors
juce::juce_osc
Expand Down

0 comments on commit 8912c90

Please sign in to comment.