Add the plugin library names to config.h.in

This commit is contained in:
Robbert van der Helm
2022-04-16 19:01:36 +02:00
parent 3cad93cb65
commit d63b4d2da5
3 changed files with 23 additions and 5 deletions
+13 -3
View File
@@ -17,8 +17,18 @@
#pragma once
/**
* The name of the Wine VST host application, e.g. `yabridge-host.exe` for the
* regular 64-bit build.
* The name of yabridge's VST2 library, e.g. `libyabridge-vst2.so`.
*/
constexpr char yabridge_vst2_plugin_name[] = "@vst2_plugin_name@";
/**
* The name of yabridge's VST3 library, e.g. `libyabridge-vst3.so`.
*/
constexpr char yabridge_vst3_plugin_name[] = "@vst3_plugin_name@";
/**
* The name of the Wine plugin host application, e.g. `yabridge-host.exe` for
* the regular 64-bit build.
*/
constexpr char yabridge_individual_host_name[] =
"@individual_host_binary_64bit@";
@@ -30,7 +40,7 @@ constexpr char yabridge_individual_host_name[] =
constexpr char yabridge_group_host_name[] = "@group_host_binary_64bit@";
/**
* The name of the 32-bit Wine VST host application, e.g.
* The name of the 32-bit Wine plugin host application, e.g.
* `yabridge-host-32.exe`.` This is used as a bitbridge to be able to load
* legacy 32-bit only Windows plugins from a 64-bit Linux host.
*/
+2
View File
@@ -5,6 +5,8 @@ config_header = configure_file(
output : 'config.h',
configuration : configuration_data(
{
'vst2_plugin_name': 'lib' + vst2_plugin_name + '.so',
'vst3_plugin_name': 'lib' + vst3_plugin_name + '.so',
'individual_host_binary_32bit': individual_host_name_32bit + '.exe',
'individual_host_binary_64bit': individual_host_name_64bit + '.exe',
'group_host_binary_32bit': group_host_name_32bit + '.exe',