mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-09 20:29:10 +02:00
Add a dependency for the VST3 pluginterfaces
This commit is contained in:
+19
-1
@@ -69,8 +69,26 @@ tomlplusplus_dep = subproject('tomlplusplus', version : '2.1.0').get_variable('t
|
|||||||
# The built in threads dependency does not know how to handle winegcc
|
# The built in threads dependency does not know how to handle winegcc
|
||||||
wine_threads_dep = declare_dependency(link_args : '-lpthread')
|
wine_threads_dep = declare_dependency(link_args : '-lpthread')
|
||||||
xcb_dep = dependency('xcb')
|
xcb_dep = dependency('xcb')
|
||||||
|
|
||||||
if with_vst3
|
if with_vst3
|
||||||
vst3_pluginterfaces_dep = subproject('vst3', version : '3.7.1').get_variable('pluginterfaces_dep')
|
# Meson does not allow mixing native and non native dependencies from
|
||||||
|
# subprojects. The only workaround is to only define the necessary variables
|
||||||
|
# there, and to then assemble the dependencies here ourselves.
|
||||||
|
vst3 = subproject('vst3', version : '3.7.1')
|
||||||
|
vst3_compiler_options = vst3.get_variable('compiler_options')
|
||||||
|
vst3_include_dir = vst3.get_variable('include_dir')
|
||||||
|
vst3_pluginterfaces_native = static_library(
|
||||||
|
'pluginterfaces_native',
|
||||||
|
vst3.get_variable('pluginterfaces_sources'),
|
||||||
|
cpp_args : vst3_compiler_options,
|
||||||
|
include_directories : vst3_include_dir,
|
||||||
|
override_options : ['warning_level=0'],
|
||||||
|
native : true,
|
||||||
|
)
|
||||||
|
vst3_pluginterfaces_native_dep = declare_dependency(
|
||||||
|
link_with : vst3_pluginterfaces_native,
|
||||||
|
include_directories : vst3_include_dir,
|
||||||
|
)
|
||||||
else
|
else
|
||||||
message('VST3 support has been disabled')
|
message('VST3 support has been disabled')
|
||||||
endif
|
endif
|
||||||
|
|||||||
@@ -2,6 +2,6 @@
|
|||||||
url = https://github.com/robbert-vdh/vst3sdk.git
|
url = https://github.com/robbert-vdh/vst3sdk.git
|
||||||
# This is VST3 SDK v3.7.1_build_50 with the documentation and VSTGUI submodules
|
# This is VST3 SDK v3.7.1_build_50 with the documentation and VSTGUI submodules
|
||||||
# removed
|
# removed
|
||||||
revision = 2a1a230d45766532360a2f432083f0795f2b0d93
|
revision = 26374423ae275c01a774e6a1db44912090a66796
|
||||||
clone-recursive = true
|
clone-recursive = true
|
||||||
depth = 1
|
depth = 1
|
||||||
|
|||||||
Reference in New Issue
Block a user