Browse Source

Allow to build with custom DISTRHO and DGL namespace

Signed-off-by: falkTX <falktx@falktx.com>
pull/321/head
falkTX 1 month ago
parent
commit
194f04aee8
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 11 additions and 1 deletions
  1. +11
    -1
      Makefile.base.mk

+ 11
- 1
Makefile.base.mk View File

@@ -438,6 +438,17 @@ else ifeq ($(HAVE_OPENGL),true)
HAVE_DGL = $(HAVE_X11)
endif

# ---------------------------------------------------------------------------------------------------------------------
# Namespace flags

ifneq ($(DISTRHO_NAMESPACE),)
BUILD_CXX_FLAGS += -DDISTRHO_NAMESPACE=$(DISTRHO_NAMESPACE)
endif

ifneq ($(DGL_NAMESPACE),)
BUILD_CXX_FLAGS += -DDGL_NAMESPACE=$(DGL_NAMESPACE)
endif

# ---------------------------------------------------------------------------------------------------------------------
# Optional flags

@@ -473,7 +484,6 @@ ifeq ($(USE_RGBA),true)
BUILD_CXX_FLAGS += -DDGL_USE_RGBA
endif


# ---------------------------------------------------------------------------------------------------------------------
# Set app extension



Loading…
Cancel
Save