@@ -35,6 +35,10 @@ OBJS += \ | |||||
DPF_FLAGS += -DSTATIC_BUILD | DPF_FLAGS += -DSTATIC_BUILD | ||||
DPF_FLAGS += -UDONT_SET_USING_DGL_NAMESPACE | DPF_FLAGS += -UDONT_SET_USING_DGL_NAMESPACE | ||||
ifeq ($(MACOS),true) | |||||
DPF_FLAGS += -ObjC++ | |||||
endif | |||||
# --------------------------------------------------------------------------------------------------------------------- | # --------------------------------------------------------------------------------------------------------------------- | ||||
# ZynAddSubFX | # ZynAddSubFX | ||||
@@ -38,6 +38,9 @@ | |||||
#include "DistrhoPluginMain.cpp" | #include "DistrhoPluginMain.cpp" | ||||
#if DISTRHO_PLUGIN_HAS_UI | #if DISTRHO_PLUGIN_HAS_UI | ||||
#include "DistrhoUIMain.cpp" | #include "DistrhoUIMain.cpp" | ||||
#ifdef CARLA_OS_MAC | |||||
#include "DistrhoUI_macOS.mm" | |||||
#endif | |||||
#endif | #endif | ||||
START_NAMESPACE_DISTRHO | START_NAMESPACE_DISTRHO | ||||
@@ -38,6 +38,9 @@ | |||||
#include "DistrhoPluginMain.cpp" | #include "DistrhoPluginMain.cpp" | ||||
#if DISTRHO_PLUGIN_HAS_UI | #if DISTRHO_PLUGIN_HAS_UI | ||||
#include "DistrhoUIMain.cpp" | #include "DistrhoUIMain.cpp" | ||||
#ifdef CARLA_OS_MAC | |||||
#include "DistrhoUI_macOS.mm" | |||||
#endif | |||||
#endif | #endif | ||||
START_NAMESPACE_DISTRHO | START_NAMESPACE_DISTRHO | ||||
@@ -37,6 +37,9 @@ | |||||
#include "DistrhoPluginMain.cpp" | #include "DistrhoPluginMain.cpp" | ||||
#if DISTRHO_PLUGIN_HAS_UI | #if DISTRHO_PLUGIN_HAS_UI | ||||
#include "DistrhoUIMain.cpp" | #include "DistrhoUIMain.cpp" | ||||
#ifdef CARLA_OS_MAC | |||||
#include "DistrhoUI_macOS.mm" | |||||
#endif | |||||
#endif | #endif | ||||
START_NAMESPACE_DISTRHO | START_NAMESPACE_DISTRHO | ||||
@@ -38,6 +38,9 @@ | |||||
#include "DistrhoPluginMain.cpp" | #include "DistrhoPluginMain.cpp" | ||||
#if DISTRHO_PLUGIN_HAS_UI | #if DISTRHO_PLUGIN_HAS_UI | ||||
#include "DistrhoUIMain.cpp" | #include "DistrhoUIMain.cpp" | ||||
#ifdef CARLA_OS_MAC | |||||
#include "DistrhoUI_macOS.mm" | |||||
#endif | |||||
#endif | #endif | ||||
START_NAMESPACE_DISTRHO | START_NAMESPACE_DISTRHO | ||||
@@ -38,6 +38,9 @@ | |||||
#include "DistrhoPluginMain.cpp" | #include "DistrhoPluginMain.cpp" | ||||
#if DISTRHO_PLUGIN_HAS_UI | #if DISTRHO_PLUGIN_HAS_UI | ||||
#include "DistrhoUIMain.cpp" | #include "DistrhoUIMain.cpp" | ||||
#ifdef CARLA_OS_MAC | |||||
#include "DistrhoUI_macOS.mm" | |||||
#endif | |||||
#endif | #endif | ||||
START_NAMESPACE_DISTRHO | START_NAMESPACE_DISTRHO | ||||
@@ -38,6 +38,9 @@ | |||||
#include "DistrhoPluginMain.cpp" | #include "DistrhoPluginMain.cpp" | ||||
#if DISTRHO_PLUGIN_HAS_UI | #if DISTRHO_PLUGIN_HAS_UI | ||||
#include "DistrhoUIMain.cpp" | #include "DistrhoUIMain.cpp" | ||||
#ifdef CARLA_OS_MAC | |||||
#include "DistrhoUI_macOS.mm" | |||||
#endif | |||||
#endif | #endif | ||||
START_NAMESPACE_DISTRHO | START_NAMESPACE_DISTRHO | ||||