Fix debug build and lv2 gen
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
9725d6859e
commit
e5fb0e1986
2 changed files with 14 additions and 3 deletions
4
Makefile
4
Makefile
|
|
@ -52,11 +52,11 @@ dgl:
|
||||||
plugins: deps
|
plugins: deps
|
||||||
$(MAKE) all -C plugins
|
$(MAKE) all -C plugins
|
||||||
|
|
||||||
resources: cardinal gen
|
resources: cardinal
|
||||||
$(MAKE) resources -C plugins
|
$(MAKE) resources -C plugins
|
||||||
|
|
||||||
ifneq ($(CROSS_COMPILING),true)
|
ifneq ($(CROSS_COMPILING),true)
|
||||||
gen: cardinal dpf/utils/lv2_ttl_generator
|
gen: cardinal resources dpf/utils/lv2_ttl_generator
|
||||||
@$(CURDIR)/dpf/utils/generate-ttl.sh
|
@$(CURDIR)/dpf/utils/generate-ttl.sh
|
||||||
ifeq ($(MACOS),true)
|
ifeq ($(MACOS),true)
|
||||||
@$(CURDIR)/dpf/utils/generate-vst-bundles.sh
|
@$(CURDIR)/dpf/utils/generate-vst-bundles.sh
|
||||||
|
|
|
||||||
13
src/dep.cpp
13
src/dep.cpp
|
|
@ -23,6 +23,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "OpenGL.hpp"
|
#include "OpenGL.hpp"
|
||||||
|
#include "DistrhoPluginUtils.hpp"
|
||||||
|
|
||||||
// fix blendish build, missing symbol in debug mode
|
// fix blendish build, missing symbol in debug mode
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
|
|
@ -33,6 +34,16 @@ float bnd_clamp(float v, float mn, float mx) {
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// fix bogaudio build, another missing symbol
|
||||||
|
#ifdef DEBUG
|
||||||
|
namespace bogaudio {
|
||||||
|
struct FollowerBase {
|
||||||
|
static float efGainMaxDecibelsDebug;
|
||||||
|
};
|
||||||
|
float FollowerBase::efGainMaxDecibelsDebug = 12.0f;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
// fopen_u8
|
// fopen_u8
|
||||||
#ifdef ARCH_WIN
|
#ifdef ARCH_WIN
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
|
@ -50,7 +61,7 @@ FILE* fopen_u8(const char* filename, const char* mode)
|
||||||
// Define the global names to indicate this is Cardinal and not VCVRack
|
// Define the global names to indicate this is Cardinal and not VCVRack
|
||||||
namespace rack {
|
namespace rack {
|
||||||
const std::string APP_NAME = "Cardinal";
|
const std::string APP_NAME = "Cardinal";
|
||||||
const std::string APP_EDITION = "";
|
const std::string APP_EDITION = getPluginFormatName();
|
||||||
const std::string APP_EDITION_NAME = "Audio Plugin";
|
const std::string APP_EDITION_NAME = "Audio Plugin";
|
||||||
const std::string APP_VERSION_MAJOR = "2";
|
const std::string APP_VERSION_MAJOR = "2";
|
||||||
const std::string APP_VERSION = "2.0";
|
const std::string APP_VERSION = "2.0";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue