mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-09 23:34:20 +00:00
LV2_SDK: Move to juce_audio_processors_headless
This commit is contained in:
parent
4f22db33b7
commit
1ce614d4b7
186 changed files with 18 additions and 17 deletions
|
|
@ -530,6 +530,19 @@ function(juce_add_module module_path)
|
|||
endif()
|
||||
|
||||
if(${module_name} STREQUAL "juce_audio_processors_headless")
|
||||
add_library(juce_lilv_headers INTERFACE)
|
||||
set(lv2_base_path "${base_path}/juce_audio_processors_headless/format_types/LV2_SDK")
|
||||
target_include_directories(juce_lilv_headers INTERFACE
|
||||
"${lv2_base_path}"
|
||||
"${lv2_base_path}/lv2"
|
||||
"${lv2_base_path}/serd"
|
||||
"${lv2_base_path}/sord"
|
||||
"${lv2_base_path}/sord/src"
|
||||
"${lv2_base_path}/sratom"
|
||||
"${lv2_base_path}/lilv"
|
||||
"${lv2_base_path}/lilv/src")
|
||||
target_link_libraries(juce_audio_processors_headless INTERFACE juce_lilv_headers)
|
||||
|
||||
add_library(juce_ara_headers INTERFACE)
|
||||
|
||||
target_include_directories(juce_ara_headers INTERFACE
|
||||
|
|
@ -538,6 +551,7 @@ function(juce_add_module module_path)
|
|||
target_link_libraries(juce_audio_processors_headless INTERFACE juce_ara_headers)
|
||||
|
||||
if(JUCE_ARG_ALIAS_NAMESPACE)
|
||||
add_library(${JUCE_ARG_ALIAS_NAMESPACE}::juce_lilv_headers ALIAS juce_lilv_headers)
|
||||
add_library(${JUCE_ARG_ALIAS_NAMESPACE}::juce_ara_headers ALIAS juce_ara_headers)
|
||||
endif()
|
||||
endif()
|
||||
|
|
@ -553,22 +567,8 @@ function(juce_add_module module_path)
|
|||
|
||||
target_link_libraries(juce_audio_processors INTERFACE juce_vst3_headers)
|
||||
|
||||
add_library(juce_lilv_headers INTERFACE)
|
||||
set(lv2_base_path "${base_path}/juce_audio_processors/format_types/LV2_SDK")
|
||||
target_include_directories(juce_lilv_headers INTERFACE
|
||||
"${lv2_base_path}"
|
||||
"${lv2_base_path}/lv2"
|
||||
"${lv2_base_path}/serd"
|
||||
"${lv2_base_path}/sord"
|
||||
"${lv2_base_path}/sord/src"
|
||||
"${lv2_base_path}/sratom"
|
||||
"${lv2_base_path}/lilv"
|
||||
"${lv2_base_path}/lilv/src")
|
||||
target_link_libraries(juce_audio_processors INTERFACE juce_lilv_headers)
|
||||
|
||||
if(JUCE_ARG_ALIAS_NAMESPACE)
|
||||
add_library(${JUCE_ARG_ALIAS_NAMESPACE}::juce_vst3_headers ALIAS juce_vst3_headers)
|
||||
add_library(${JUCE_ARG_ALIAS_NAMESPACE}::juce_lilv_headers ALIAS juce_lilv_headers)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
|
|
|||
|
|
@ -397,8 +397,9 @@ void ProjectExporter::addExtraIncludePathsIfPluginOrHost()
|
|||
addToExtraSearchPaths (getInternalVST3SDKPath(), 0);
|
||||
}
|
||||
|
||||
const auto lv2BasePath = getModuleFolderRelativeToProject ("juce_audio_processors").getChildFile ("format_types")
|
||||
.getChildFile ("LV2_SDK");
|
||||
const auto lv2BasePath = getModuleFolderRelativeToProject ("juce_audio_processors_headless")
|
||||
.getChildFile ("format_types")
|
||||
.getChildFile ("LV2_SDK");
|
||||
|
||||
if ((shouldBuildTargetType (Target::LV2PlugIn) && project.shouldBuildLV2()) || project.isLV2PluginHost())
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue