mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +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()
|
endif()
|
||||||
|
|
||||||
if(${module_name} STREQUAL "juce_audio_processors_headless")
|
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)
|
add_library(juce_ara_headers INTERFACE)
|
||||||
|
|
||||||
target_include_directories(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)
|
target_link_libraries(juce_audio_processors_headless INTERFACE juce_ara_headers)
|
||||||
|
|
||||||
if(JUCE_ARG_ALIAS_NAMESPACE)
|
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)
|
add_library(${JUCE_ARG_ALIAS_NAMESPACE}::juce_ara_headers ALIAS juce_ara_headers)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
@ -553,22 +567,8 @@ function(juce_add_module module_path)
|
||||||
|
|
||||||
target_link_libraries(juce_audio_processors INTERFACE juce_vst3_headers)
|
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)
|
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_vst3_headers ALIAS juce_vst3_headers)
|
||||||
add_library(${JUCE_ARG_ALIAS_NAMESPACE}::juce_lilv_headers ALIAS juce_lilv_headers)
|
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -397,8 +397,9 @@ void ProjectExporter::addExtraIncludePathsIfPluginOrHost()
|
||||||
addToExtraSearchPaths (getInternalVST3SDKPath(), 0);
|
addToExtraSearchPaths (getInternalVST3SDKPath(), 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
const auto lv2BasePath = getModuleFolderRelativeToProject ("juce_audio_processors").getChildFile ("format_types")
|
const auto lv2BasePath = getModuleFolderRelativeToProject ("juce_audio_processors_headless")
|
||||||
.getChildFile ("LV2_SDK");
|
.getChildFile ("format_types")
|
||||||
|
.getChildFile ("LV2_SDK");
|
||||||
|
|
||||||
if ((shouldBuildTargetType (Target::LV2PlugIn) && project.shouldBuildLV2()) || project.isLV2PluginHost())
|
if ((shouldBuildTargetType (Target::LV2PlugIn) && project.shouldBuildLV2()) || project.isLV2PluginHost())
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -108,7 +108,7 @@ extern "C"
|
||||||
|
|
||||||
#pragma push_macro ("nil")
|
#pragma push_macro ("nil")
|
||||||
#undef nil
|
#undef nil
|
||||||
#include "LV2_SDK/sratom/src/sratom.c"
|
#include "sratom/src/sratom.c"
|
||||||
#pragma pop_macro ("nil")
|
#pragma pop_macro ("nil")
|
||||||
|
|
||||||
} // extern "C"
|
} // extern "C"
|
||||||
|
|
|
||||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue