mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-08 20:40:11 +02:00
Add another flag for enabling a bit bridge build
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
// yabridge: a Wine VST bridge
|
||||
// Copyright (C) 2020 Robbert van der Helm
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
#pragma once
|
||||
|
||||
/**
|
||||
* The name of the wine host name, e.g. `yabridge-host.exe` for the regular 64
|
||||
* bit build.
|
||||
*/
|
||||
constexpr char yabridge_wine_host_name[] = "@host_binary_64bit@";
|
||||
|
||||
/**
|
||||
* The name of the 32-bit wine host name, 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.
|
||||
*/
|
||||
constexpr char yabridge_wine_host_name_32bit[] = "@host_binary_32bit@";
|
||||
@@ -1,3 +1,16 @@
|
||||
# Contains constants determined while configuring the build. As an alternative
|
||||
# to preprocessor macros.
|
||||
config_header = configure_file(
|
||||
input : 'config.h.in',
|
||||
output : 'config.h',
|
||||
configuration : configuration_data(
|
||||
{
|
||||
'host_binary_32bit': host_name_32bit + '.exe',
|
||||
'host_binary_64bit': host_name_64bit + '.exe',
|
||||
}
|
||||
)
|
||||
)
|
||||
|
||||
# Generate a file containing the last annotated git tag and possibly also the
|
||||
# amount of commits since then and the hash of the last commit
|
||||
version_header = vcs_tag(
|
||||
|
||||
Reference in New Issue
Block a user