vst3sdk

VST3 Plug-In SDK
Log | Files | Refs | Submodules | README

commit 0041ef2c879c3c54c03d33cdc11a97eaebfb5752
parent 358b72ee61bc67fb4592b0d492e0c6a1211ebf11
Author: ygrabit <[email protected]>
Date:   Mon, 15 May 2023 19:10:00 +0200

VST SDK 3.7.8

Diffstat:
MCMakeLists.txt | 61+++++++++++--------------------------------------------------
MLICENSE.txt | 2+-
MVST3_License_Agreement.pdf | 0
3 files changed, 12 insertions(+), 51 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt @@ -4,17 +4,12 @@ cmake_minimum_required (VERSION 3.19) # Specify the minimum version of the target platform if(NOT DEFINED ENV{MACOSX_DEPLOYMENT_TARGET}) set(CMAKE_OSX_DEPLOYMENT_TARGET "10.13" CACHE STRING "macOS deployment target") - message(STATUS "[SMTG] macOS Deployment Target: ${CMAKE_OSX_DEPLOYMENT_TARGET}") endif() -#------------------------------------------------------------------------------- -# Options -#------------------------------------------------------------------------------- -# Add VST 3 Plug-ins Samples -option(SMTG_ADD_VST3_PLUGINS_SAMPLES "Add VST 3 Plug-ins Samples to the solution" ON) - -# Add and use VSTGUI (enable VST 3 Plug-ins Samples using VSTGUI) -option(SMTG_ADD_VSTGUI "Add VSTGUI Support" ON) +# Global options which can bet set on command line e.g.: cmake -DSMTG_ENABLE_VST3_PLUGIN_EXAMPLES=OFF ... +option(SMTG_ENABLE_VST3_PLUGIN_EXAMPLES "Enable VST 3 Plug-in Examples" ON) +option(SMTG_ENABLE_VST3_HOSTING_EXAMPLES "Enable VST 3 Hosting Examples" ON) +option(SMTG_ENABLE_VSTGUI_SUPPORT "Enable VSTGUI Support" ON) #------------------------------------------------------------------------------- # Includes @@ -28,7 +23,7 @@ include(SMTG_VST3_SDK) # SDK Project #------------------------------------------------------------------------------- project(vstsdk - VERSION 3.7.7 + VERSION 3.7.8 DESCRIPTION "Steinberg VST 3 Software Development Kit" HOMEPAGE_URL "https://www.steinberg.net" ) @@ -37,28 +32,14 @@ smtg_setup_platform_toolset() set(ROOT "${CMAKE_CURRENT_SOURCE_DIR}") -# Here you can define where the VST 3 SDK is located +# Set the location of the VST 3 SDK set(SDK_ROOT "${ROOT}") set(public_sdk_SOURCE_DIR ${SDK_ROOT}/public.sdk) set(pluginterfaces_SOURCE_DIR ${SDK_ROOT}/pluginterfaces) -# Disable all VST 3 samples when using SDK as subdirectory -message(STATUS "[SMTG] CMAKE_SOURCE_DIR is set to: ${CMAKE_SOURCE_DIR}") -message(STATUS "[SMTG] CMAKE_CURRENT_LIST_DIR is set to: ${CMAKE_CURRENT_LIST_DIR}") - -if(NOT ${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_LIST_DIR}) - message(STATUS "[SMTG] Disable all VST 3 samples") - set(SMTG_ADD_VST3_PLUGINS_SAMPLES OFF) - set(SMTG_ADD_VST3_HOSTING_SAMPLES OFF) - set(SMTG_ADD_MYPLUGINS_SRC_PATH OFF) -else() - set(SMTG_ADD_MYPLUGINS_SRC_PATH ON) -endif() - -# Here you can define where the VSTGUI is located -if(SMTG_ADD_VSTGUI) +if(SMTG_ENABLE_VSTGUI_SUPPORT) smtg_enable_vstgui_support(VSTGUI_SOURCE_DIR "${ROOT}/vstgui4") -endif(SMTG_ADD_VSTGUI) +endif() include_directories(${ROOT} ${SDK_ROOT}) @@ -105,32 +86,12 @@ add_subdirectory(public.sdk/samples/vst-hosting) set(SDK_IDE_UTILITIES_FOLDER FOLDER "Utilities") add_subdirectory(public.sdk/samples/vst-utilities) -#------------------------------------------------------------------------------- -# Here is added your own plug-ins folder location -# (by default we add the HelloWorld included in my_plugins folder) -#------------------------------------------------------------------------------- -if(SMTG_ADD_MYPLUGINS_SRC_PATH) - set(SMTG_MYPLUGINS_SRC_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../my_plugins" CACHE PATH "Here you can add Your VST 3 plug-ins folder") - - if(EXISTS ${SMTG_MYPLUGINS_SRC_PATH}) - message(STATUS "[SMTG] SMTG_MYPLUGINS_SRC_PATH is set to: " ${SMTG_MYPLUGINS_SRC_PATH}) - else() - message(STATUS "[SMTG] SMTG_MYPLUGINS_SRC_PATH is not set. If you want to add your own Plug-ins folder, specify it!") - endif() - - set(SDK_IDE_MYPLUGINS_FOLDER FOLDER "MyPlugIns") - if(EXISTS ${SMTG_MYPLUGINS_SRC_PATH}) - set(SMTG_MYPLUGINS_BIN_PATH "${SMTG_MYPLUGINS_SRC_PATH}/build") - add_subdirectory(${SMTG_MYPLUGINS_SRC_PATH} ${SMTG_MYPLUGINS_BIN_PATH}) - endif() -endif(SMTG_ADD_MYPLUGINS_SRC_PATH) - #---Add VST 3 examples (plug-ins and hosting)----- -if(SMTG_ADD_VST3_PLUGINS_SAMPLES) +if(SMTG_ENABLE_VST3_PLUGIN_EXAMPLES) set(SDK_IDE_PLUGIN_EXAMPLES_FOLDER FOLDER "PlugInExamples") add_subdirectory(public.sdk/samples/vst) add_subdirectory(public.sdk/source/vst/auv3wrapper) -endif(SMTG_ADD_VST3_PLUGINS_SAMPLES) +endif() #------------------------------------------------------------------------------- # IDE sorting @@ -160,7 +121,7 @@ if(TARGET base_ios) ) endif() -if(SMTG_ADD_VSTGUI) +if(SMTG_ENABLE_VSTGUI_SUPPORT) set_property( TARGET vstgui diff --git a/LICENSE.txt b/LICENSE.txt @@ -1,6 +1,6 @@ //----------------------------------------------------------------------------- // LICENSE -// (c) 2022, Steinberg Media Technologies GmbH, All Rights Reserved +// (c) 2023, Steinberg Media Technologies GmbH, All Rights Reserved //----------------------------------------------------------------------------- This license applies only to files referencing this license, for other files of the Software Development Kit the respective embedded license text diff --git a/VST3_License_Agreement.pdf b/VST3_License_Agreement.pdf Binary files differ.