Skip to content

Commit

Permalink
now for real
Browse files Browse the repository at this point in the history
  • Loading branch information
baconpaul committed Aug 19, 2024
1 parent dd81d10 commit 804d234
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 21 deletions.
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
34 changes: 15 additions & 19 deletions libs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,24 @@ add_library(simde INTERFACE)
target_include_directories(simde INTERFACE simde)
add_library(shortcircuit::simde ALIAS simde)

if (${SCXT_JUCE_CLASSIC_STYLE})
add_subdirectory(JUCE)
add_subdirectory(clap/clap-juce-extensions clap-extensions EXCLUDE_FROM_ALL)
else()
add_subdirectory(clap/clap)
add_subdirectory(clap/clap-helpers)
add_subdirectory(clap/clap)
add_subdirectory(clap/clap-helpers)

set(CLAP_WRAPPER_DOWNLOAD_DEPENDENCIES TRUE CACHE BOOL "Get em")
set(CLAP_WRAPPER_DONT_ADD_TARGETS TRUE CACHE BOOL "I'll targetize")
set(CLAP_WRAPPER_BUILD_AUV2 TRUE CACHE BOOL "It's only logical")
if (APPLE)
# BaconPaul has jack kinda installed
set(RTAUDIO_API_JACK FALSE CACHE BOOL "Not on apple")
endif()
add_subdirectory(clap/clap-wrapper)
set(CLAP_WRAPPER_DOWNLOAD_DEPENDENCIES TRUE CACHE BOOL "Get em")
set(CLAP_WRAPPER_DONT_ADD_TARGETS TRUE CACHE BOOL "I'll targetize")
set(CLAP_WRAPPER_BUILD_AUV2 TRUE CACHE BOOL "It's only logical")
if (APPLE)
# BaconPaul has jack kinda installed
set(RTAUDIO_API_JACK FALSE CACHE BOOL "Not on apple")
endif()
add_subdirectory(clap/clap-wrapper)

add_subdirectory(sst/sst-clap-helpers)
if (NOT DEFINED JUCE_PATH)
set(JUCE_PATH "${CMAKE_SOURCE_DIR}/libs/JUCE")
endif()
add_clap_juce_shim(JUCE_PATH ${JUCE_PATH})
add_subdirectory(sst/sst-clap-helpers)
if (NOT DEFINED JUCE_PATH)
set(JUCE_PATH "${CMAKE_SOURCE_DIR}/libs/JUCE")
endif()
add_clap_juce_shim(JUCE_PATH ${JUCE_PATH})


add_subdirectory(fmt)
# Modify this basedon the outcome of https://github.com/taocpp/PEGTL/issues/347
Expand Down

0 comments on commit 804d234

Please sign in to comment.