1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-09 23:34:20 +00:00

VST3_SDK: Move to juce_audio_processors_headless

This commit is contained in:
reuk 2025-08-20 15:28:10 +01:00
parent bf4486e2aa
commit db64002610
No known key found for this signature in database
139 changed files with 24 additions and 29 deletions

View file

@ -530,6 +530,16 @@ 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_vst3_headers INTERFACE)
target_compile_definitions(juce_vst3_headers INTERFACE "$<$<TARGET_EXISTS:juce_vst3_sdk>:JUCE_CUSTOM_VST3_SDK=1>")
target_include_directories(juce_vst3_headers INTERFACE
"$<$<TARGET_EXISTS:juce_vst3_sdk>:$<TARGET_PROPERTY:juce_vst3_sdk,INTERFACE_INCLUDE_DIRECTORIES>>"
"$<$<NOT:$<TARGET_EXISTS:juce_vst3_sdk>>:${base_path}/juce_audio_processors_headless/format_types/VST3_SDK>")
target_link_libraries(juce_audio_processors_headless INTERFACE juce_vst3_headers)
add_library(juce_lilv_headers INTERFACE) add_library(juce_lilv_headers INTERFACE)
set(lv2_base_path "${base_path}/juce_audio_processors_headless/format_types/LV2_SDK") set(lv2_base_path "${base_path}/juce_audio_processors_headless/format_types/LV2_SDK")
target_include_directories(juce_lilv_headers INTERFACE target_include_directories(juce_lilv_headers INTERFACE
@ -551,27 +561,12 @@ 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_vst3_headers ALIAS juce_vst3_headers)
add_library(${JUCE_ARG_ALIAS_NAMESPACE}::juce_lilv_headers ALIAS juce_lilv_headers) 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()
if(${module_name} STREQUAL "juce_audio_processors")
add_library(juce_vst3_headers INTERFACE)
target_compile_definitions(juce_vst3_headers INTERFACE "$<$<TARGET_EXISTS:juce_vst3_sdk>:JUCE_CUSTOM_VST3_SDK=1>")
target_include_directories(juce_vst3_headers INTERFACE
"$<$<TARGET_EXISTS:juce_vst3_sdk>:$<TARGET_PROPERTY:juce_vst3_sdk,INTERFACE_INCLUDE_DIRECTORIES>>"
"$<$<NOT:$<TARGET_EXISTS:juce_vst3_sdk>>:${base_path}/juce_audio_processors/format_types/VST3_SDK>")
target_link_libraries(juce_audio_processors INTERFACE juce_vst3_headers)
if(JUCE_ARG_ALIAS_NAMESPACE)
add_library(${JUCE_ARG_ALIAS_NAMESPACE}::juce_vst3_headers ALIAS juce_vst3_headers)
endif()
endif()
target_include_directories(${module_name} INTERFACE ${base_path}) target_include_directories(${module_name} INTERFACE ${base_path})
target_compile_definitions(${module_name} INTERFACE JUCE_MODULE_AVAILABLE_${module_name}=1) target_compile_definitions(${module_name} INTERFACE JUCE_MODULE_AVAILABLE_${module_name}=1)

View file

@ -451,7 +451,7 @@ void ProjectExporter::addLegacyVSTFolderToPathIfSpecified()
build_tools::RelativePath ProjectExporter::getInternalVST3SDKPath() build_tools::RelativePath ProjectExporter::getInternalVST3SDKPath()
{ {
return getModuleFolderRelativeToProject ("juce_audio_processors") return getModuleFolderRelativeToProject ("juce_audio_processors_headless")
.getChildFile ("format_types") .getChildFile ("format_types")
.getChildFile ("VST3_SDK"); .getChildFile ("VST3_SDK");
} }

View file

@ -83,16 +83,16 @@ JUCE_BEGIN_IGNORE_WARNINGS_MSVC (6387 6031)
#define NOMINMAX #define NOMINMAX
#endif #endif
#include <juce_audio_processors/format_types/VST3_SDK/pluginterfaces/base/coreiids.cpp> #include <juce_audio_processors_headless/format_types/VST3_SDK/pluginterfaces/base/coreiids.cpp>
#include <juce_audio_processors/format_types/VST3_SDK/pluginterfaces/base/funknown.cpp> #include <juce_audio_processors_headless/format_types/VST3_SDK/pluginterfaces/base/funknown.cpp>
#include <juce_audio_processors/format_types/VST3_SDK/public.sdk/source/common/commonstringconvert.cpp> #include <juce_audio_processors_headless/format_types/VST3_SDK/public.sdk/source/common/commonstringconvert.cpp>
#include <juce_audio_processors/format_types/VST3_SDK/public.sdk/source/common/memorystream.cpp> #include <juce_audio_processors_headless/format_types/VST3_SDK/public.sdk/source/common/memorystream.cpp>
#include <juce_audio_processors/format_types/VST3_SDK/public.sdk/source/common/readfile.cpp> #include <juce_audio_processors_headless/format_types/VST3_SDK/public.sdk/source/common/readfile.cpp>
#include <juce_audio_processors/format_types/VST3_SDK/public.sdk/source/vst/hosting/module.cpp> #include <juce_audio_processors_headless/format_types/VST3_SDK/public.sdk/source/vst/hosting/module.cpp>
#include <juce_audio_processors/format_types/VST3_SDK/public.sdk/source/vst/moduleinfo/moduleinfocreator.cpp> #include <juce_audio_processors_headless/format_types/VST3_SDK/public.sdk/source/vst/moduleinfo/moduleinfocreator.cpp>
#include <juce_audio_processors/format_types/VST3_SDK/public.sdk/source/vst/moduleinfo/moduleinfoparser.cpp> #include <juce_audio_processors_headless/format_types/VST3_SDK/public.sdk/source/vst/moduleinfo/moduleinfoparser.cpp>
#include <juce_audio_processors/format_types/VST3_SDK/public.sdk/source/vst/utility/stringconvert.cpp> #include <juce_audio_processors_headless/format_types/VST3_SDK/public.sdk/source/vst/utility/stringconvert.cpp>
#include <juce_audio_processors/format_types/VST3_SDK/public.sdk/source/vst/vstinitiids.cpp> #include <juce_audio_processors_headless/format_types/VST3_SDK/public.sdk/source/vst/vstinitiids.cpp>
JUCE_END_IGNORE_WARNINGS_MSVC JUCE_END_IGNORE_WARNINGS_MSVC
JUCE_END_IGNORE_WARNINGS_GCC_LIKE JUCE_END_IGNORE_WARNINGS_GCC_LIKE

View file

@ -138,7 +138,7 @@ JUCE_BEGIN_IGNORE_WARNINGS_GCC_LIKE ("-W#warnings",
#include <public.sdk/source/vst/vsteditcontroller.h> #include <public.sdk/source/vst/vsteditcontroller.h>
#include <public.sdk/source/vst/vstpresetfile.h> #include <public.sdk/source/vst/vstpresetfile.h>
#include "pslextensions/ipslviewembedding.h" #include <juce_audio_processors_headless/format_types/pslextensions/ipslviewembedding.h>
#else #else
// needed for VST_VERSION // needed for VST_VERSION
#include <pluginterfaces/vst/vsttypes.h> #include <pluginterfaces/vst/vsttypes.h>
@ -210,7 +210,7 @@ JUCE_BEGIN_IGNORE_WARNINGS_GCC_LIKE ("-W#warnings",
#include <public.sdk/source/vst/hosting/pluginterfacesupport.cpp> #include <public.sdk/source/vst/hosting/pluginterfacesupport.cpp>
#endif #endif
#include "pslextensions/ipslviewembedding.h" #include <juce_audio_processors_headless/format_types/pslextensions/ipslviewembedding.h>
//============================================================================== //==============================================================================
namespace Steinberg namespace Steinberg

Some files were not shown because too many files have changed in this diff Show more