mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 03:50:11 +02:00
Include the configuration as a dependency
Apparently this wasn't even supposed to work, so it's probably a good idea to do it properly before things break.
This commit is contained in:
@@ -270,6 +270,8 @@ shared_library(
|
||||
native : true,
|
||||
include_directories : include_dir,
|
||||
dependencies : [
|
||||
configuration_dep,
|
||||
|
||||
boost_dep,
|
||||
with_32bit_libraries
|
||||
? boost_filesystem_32bit_dep
|
||||
@@ -292,6 +294,8 @@ if with_vst3
|
||||
native : true,
|
||||
include_directories : include_dir,
|
||||
dependencies : [
|
||||
configuration_dep,
|
||||
|
||||
boost_dep,
|
||||
with_32bit_libraries
|
||||
? boost_filesystem_32bit_dep
|
||||
|
||||
@@ -27,3 +27,8 @@ version_header = vcs_tag(
|
||||
output : 'version.h',
|
||||
replace_string : '@VCS_VERSION@'
|
||||
)
|
||||
|
||||
configuration_dep = declare_dependency(
|
||||
include_directories : include_directories('.'),
|
||||
sources : [config_header, version_header],
|
||||
)
|
||||
|
||||
@@ -15,10 +15,7 @@ vst2_plugin_sources = files(
|
||||
'host-process.cpp',
|
||||
'utils.cpp',
|
||||
'vst2-plugin.cpp',
|
||||
) + [
|
||||
config_header,
|
||||
version_header,
|
||||
]
|
||||
)
|
||||
|
||||
vst3_plugin_sources = files(
|
||||
'../common/communication/common.cpp',
|
||||
@@ -91,7 +88,4 @@ vst3_plugin_sources = files(
|
||||
'host-process.cpp',
|
||||
'utils.cpp',
|
||||
'vst3-plugin.cpp',
|
||||
) + [
|
||||
config_header,
|
||||
version_header,
|
||||
]
|
||||
)
|
||||
|
||||
@@ -8,6 +8,8 @@
|
||||
# doesn't have a way to customize that yet.
|
||||
if is_64bit_system
|
||||
host_64bit_deps = [
|
||||
configuration_dep,
|
||||
|
||||
boost_dep,
|
||||
boost_filesystem_64bit_dep,
|
||||
bitsery_dep,
|
||||
@@ -31,6 +33,8 @@ if with_bitbridge
|
||||
message('Bitbridge enabled, configuring a 32-bit host application')
|
||||
|
||||
host_32bit_deps = [
|
||||
configuration_dep,
|
||||
|
||||
boost_dep,
|
||||
boost_filesystem_32bit_dep,
|
||||
bitsery_dep,
|
||||
@@ -136,17 +140,11 @@ endif
|
||||
# These will be linked against a static library made from `host_common_sources`
|
||||
individual_host_sources = files(
|
||||
'individual-host.cpp',
|
||||
) + [
|
||||
config_header,
|
||||
version_header,
|
||||
]
|
||||
)
|
||||
group_host_sources = files(
|
||||
'bridges/group.cpp',
|
||||
'group-host.cpp',
|
||||
) + [
|
||||
config_header,
|
||||
version_header,
|
||||
]
|
||||
)
|
||||
|
||||
if is_64bit_system
|
||||
host_common_64bit = static_library(
|
||||
|
||||
Reference in New Issue
Block a user