Skip to content

Commit

Permalink
Juce plugin out of the repo (#1155)
Browse files Browse the repository at this point in the history
It's still in history, but we are definitely wrapper committed
at this point. Onwards!
  • Loading branch information
baconpaul authored Aug 19, 2024
1 parent 9daa169 commit c115402
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 702 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,7 @@ jobs:
matrix:
include:
- name: Clap First
juce_style: FALSE
installer_name: ""
installer_dir: clapfirst
#- name: Juce Style
# juce_style: TRUE
# installer_name: "OldJuceStyle-"
# installer_dir: jucestyle

steps:
- name: Checkout code
Expand All @@ -89,7 +83,7 @@ jobs:
with:
username: ${{ github.actor }}
token: ${{ secrets.GITHUB_TOKEN }}
cmakeArgs: -DSCXT_JUCE_CLASSIC_STYLE=${{ matrix.juce_style }} -DSCXT_EXTRA_INSTALLER_NAME="${{matrix.installer_name }}" -DCMAKE_BUILD_TYPE=Release -GNinja
cmakeArgs: -DCMAKE_BUILD_TYPE=Release -GNinja
target: shortcircuit-installer


Expand Down
2 changes: 0 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ math(EXPR PART1 "${DAY_OF_YEAR} + 1")
project(ShortcircuitXT VERSION 0.${PART0}.${PART1}.0 LANGUAGES C CXX ASM)
set(ShortcircuitXT_VERSION ${PROJECT_VERSION})

option(SCXT_JUCE_CLASSIC_STYLE "Use juse classic vs clap-first style" OFF)

if (APPLE)
enable_language(OBJC)
enable_language(OBJCXX)
Expand Down
36 changes: 1 addition & 35 deletions clients/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,38 +1,4 @@
project(scxt-clients LANGUAGES CXX)


if (${SCXT_JUCE_CLASSIC_STYLE})
message(STATUS "Building JUCE_CLASSIC style plugins")
add_subdirectory(juce-plugin)

if(DEFINED ENV{ASIOSDK_DIR} OR BUILD_USING_MY_ASIO_LICENSE)
if(BUILD_USING_MY_ASIO_LICENSE)
message(STATUS "** BUILD USING OWN ASIO LICENSE **")
message(STATUS "The resulting Shortcircuit XT standalone executable is not licensed for distribution!")
message(STATUS "Fetching ASIO SDK...")

set(ASIOSDK_DIR ${CMAKE_BINARY_DIR}/asio/asiosdk)
add_custom_target(scxt-get-local-asio)
add_custom_command(
TARGET scxt-get-local-asio
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_BINARY_DIR}/asio
COMMAND ${CMAKE_COMMAND} -D ASIO_SDK_DESTINATION=${CMAKE_BINARY_DIR}/asio -P ../cmake/get-asio.cmake
)
add_dependencies(scxt_plugin scxt-get-local-asio)
else()
file(TO_CMAKE_PATH "$ENV{ASIOSDK_DIR}" ASIOSDK_DIR)
message(STATUS "ASIO SDK found at ${ASIOSDK_DIR}")
message(STATUS "The resulting Shortcircuit XT standalone executable is not licensed for distribution!")
endif()

target_compile_definitions(scxt_plugin INTERFACE JUCE_ASIO=1)
target_include_directories(scxt_plugin INTERFACE ${ASIOSDK_DIR}/common)
set(JUCE_ASIO_SUPPORT TRUE)
endif()
else()
message(STATUS "Building clap-first / wrapper plugins")
add_subdirectory(clap-first)
endif()

add_subdirectory(clap-first)
add_subdirectory(sfz-token-dump)
1 change: 1 addition & 0 deletions clients/clap-first/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
project(scxt_clapfirst)

message(STATUS "Shortcircuit XT building clap-first wrappers")
set(name "Shortcircuit XT")
set(IMPL_TARGET ${PROJECT_NAME}_impl)
add_library(${IMPL_TARGET} STATIC clap-config.cpp
Expand Down
102 changes: 0 additions & 102 deletions clients/juce-plugin/CMakeLists.txt

This file was deleted.

53 changes: 0 additions & 53 deletions clients/juce-plugin/SCXTPluginEditor.cpp

This file was deleted.

58 changes: 0 additions & 58 deletions clients/juce-plugin/SCXTPluginEditor.h

This file was deleted.

Loading

0 comments on commit c115402

Please sign in to comment.