Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:kill_it:JUCE
jc303
cmakelists.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cmakelists.patch of Package jc303
diff --git a/CMakeLists.txt b/CMakeLists.txt index c001f78..6924f9c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,34 +20,36 @@ set_property(GLOBAL PROPERTY USE_FOLDERS ON) # IDEs: Create a folder in the IDE with the JUCE Module code. option(JUCE_ENABLE_MODULE_SOURCE_GROUPS "Show all module sources in IDE projects" ON) +find_package(JUCE CONFIG REQUIRED) +add_subdirectory(lib/clap-juce-extensions) ### Dependency management ### -include(FetchContent) +# include(FetchContent) # Keep dependencies outside of the "Build" directory. # This allows to do a clean build of the project without re-downloading or # rebuilding the dependencies. -set(FETCHCONTENT_BASE_DIR "${PROJECT_SOURCE_DIR}/lib" CACHE PATH "External dependencies path." FORCE) - -FetchContent_Declare(juce - GIT_REPOSITORY https://github.com/juce-framework/JUCE.git - GIT_TAG ${LIB_JUCE_TAG} - GIT_SHALLOW TRUE - GIT_CONFIG advice.detachedHead=false # Disable detached HEAD warning for fetching a specific tag - SOURCE_DIR "${FETCHCONTENT_BASE_DIR}/JUCE" - SUBBUILD_DIR "${FETCHCONTENT_BASE_DIR}/JUCE-Subbuild" - BINARY_DIR "${FETCHCONTENT_BASE_DIR}/JUCE-Build") - -FetchContent_Declare(juce-clap-extensions - GIT_REPOSITORY https://github.com/free-audio/clap-juce-extensions.git - GIT_TAG 54d83e121545490fdbb2d3dec3ba0c1da6005dde - GIT_SHALLOW TRUE - GIT_CONFIG advice.detachedHead=false) # Disable detached HEAD warning for fetching a specific tag - - -FetchContent_MakeAvailable(juce) -FetchContent_MakeAvailable(juce-clap-extensions) +# set(FETCHCONTENT_BASE_DIR "${PROJECT_SOURCE_DIR}/lib" CACHE PATH "External dependencies path." FORCE) +# +# FetchContent_Declare(juce +# GIT_REPOSITORY https://github.com/juce-framework/JUCE.git +# GIT_TAG ${LIB_JUCE_TAG} +# GIT_SHALLOW TRUE +# GIT_CONFIG advice.detachedHead=false # Disable detached HEAD warning for fetching a specific tag +# SOURCE_DIR "${FETCHCONTENT_BASE_DIR}/JUCE" +# SUBBUILD_DIR "${FETCHCONTENT_BASE_DIR}/JUCE-Subbuild" +# BINARY_DIR "${FETCHCONTENT_BASE_DIR}/JUCE-Build") +# +# FetchContent_Declare(juce-clap-extensions +# GIT_REPOSITORY https://github.com/free-audio/clap-juce-extensions.git +# GIT_TAG 54d83e121545490fdbb2d3dec3ba0c1da6005dde +# GIT_SHALLOW TRUE +# GIT_CONFIG advice.detachedHead=false) # Disable detached HEAD warning for fetching a specific tag +# +# +# FetchContent_MakeAvailable(juce) +# FetchContent_MakeAvailable(juce-clap-extensions) ### Plugin Project Setup ### @@ -56,12 +58,12 @@ FetchContent_MakeAvailable(juce-clap-extensions) # This setup should be done before calling `juce_add_plugin`. # do we have vst2 sdk to build it? -if(EXISTS "${PROJECT_SOURCE_DIR}/vstsdk2.4") - juce_set_vst2_sdk_path("${PROJECT_SOURCE_DIR}/vstsdk2.4") - set(PLUGIN_FORMATS AU VST VST3 LV2) -else() - set(PLUGIN_FORMATS AU VST3 LV2) -endif() +# if(EXISTS "${PROJECT_SOURCE_DIR}/vstsdk2.4") +# juce_set_vst2_sdk_path("${PROJECT_SOURCE_DIR}/vstsdk2.4") + set(PLUGIN_FORMATS Standalone VST VST3 LV2) +# else() +# set(PLUGIN_FORMATS AU VST3 LV2) +# endif() # `juce_add_plugin` adds a static library target with the name passed as the first argument. # This target is a normal CMake target, but has a lot of extra properties set
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor