Browse Source

Temporarily disable some internal plugins in windows build

tags/1.9.7
falkTX 8 years ago
parent
commit
702167f3b6
2 changed files with 24 additions and 0 deletions
  1. +12
    -0
      source/native-plugins/_all.c
  2. +12
    -0
      source/native-plugins/_data.cpp

+ 12
- 0
source/native-plugins/_all.c View File

@@ -18,6 +18,10 @@
#include "CarlaDefines.h" #include "CarlaDefines.h"
#include "CarlaNative.h" #include "CarlaNative.h"


#ifdef CARLA_OS_WIN
# define DISABLE_PLUGINS_FOR_WINDOWS_BUILD
#endif

// ----------------------------------------------------------------------- // -----------------------------------------------------------------------


// Simple plugins // Simple plugins
@@ -84,10 +88,14 @@ void carla_register_all_native_plugins(void)


// MIDI file and sequencer // MIDI file and sequencer
carla_register_native_plugin_midifile(); carla_register_native_plugin_midifile();
#ifndef DISABLE_PLUGINS_FOR_WINDOWS_BUILD
carla_register_native_plugin_midipattern(); carla_register_native_plugin_midipattern();
#endif


// Carla // Carla
#ifndef DISABLE_PLUGINS_FOR_WINDOWS_BUILD
carla_register_native_plugin_carla(); carla_register_native_plugin_carla();
#endif


// DISTRHO Plugins // DISTRHO Plugins
carla_register_native_plugin_distrho_3bandeq(); carla_register_native_plugin_distrho_3bandeq();
@@ -105,14 +113,18 @@ void carla_register_all_native_plugins(void)
carla_register_native_plugin_distrho_vectorjuice(); carla_register_native_plugin_distrho_vectorjuice();
carla_register_native_plugin_distrho_wobblejuice(); carla_register_native_plugin_distrho_wobblejuice();


#ifndef DISABLE_PLUGINS_FOR_WINDOWS_BUILD
// External-UI plugins // External-UI plugins
carla_register_native_plugin_bigmeter(); carla_register_native_plugin_bigmeter();
carla_register_native_plugin_notes(); carla_register_native_plugin_notes();
#endif


#ifdef HAVE_ZYN_DEPS #ifdef HAVE_ZYN_DEPS
// ZynAddSubFX // ZynAddSubFX
carla_register_native_plugin_zynaddsubfx_fx(); carla_register_native_plugin_zynaddsubfx_fx();
# ifndef DISABLE_PLUGINS_FOR_WINDOWS_BUILD
carla_register_native_plugin_zynaddsubfx_synth(); carla_register_native_plugin_zynaddsubfx_synth();
# endif
#endif #endif


#ifdef HAVE_EXPERIMENTAL_PLUGINS #ifdef HAVE_EXPERIMENTAL_PLUGINS


+ 12
- 0
source/native-plugins/_data.cpp View File

@@ -19,6 +19,10 @@
#include "CarlaMIDI.h" #include "CarlaMIDI.h"
#include "CarlaUtils.hpp" #include "CarlaUtils.hpp"


#ifdef CARLA_OS_WIN
#define DISABLE_PLUGINS_FOR_WINDOWS_BUILD
#endif

#undef DESCFUNCS #undef DESCFUNCS
#define DESCFUNCS \ #define DESCFUNCS \
nullptr, nullptr, nullptr, nullptr, nullptr, \ nullptr, nullptr, nullptr, nullptr, nullptr, \
@@ -205,6 +209,7 @@ static const NativePluginDescriptor sNativePluginDescriptors[] = {
/* copyright */ "GNU GPL v2+", /* copyright */ "GNU GPL v2+",
DESCFUNCS DESCFUNCS
}, },
#ifndef DISABLE_PLUGINS_FOR_WINDOWS_BUILD
{ {
/* category */ NATIVE_PLUGIN_CATEGORY_UTILITY, /* category */ NATIVE_PLUGIN_CATEGORY_UTILITY,
/* hints */ static_cast<NativePluginHints>(NATIVE_PLUGIN_IS_RTSAFE /* hints */ static_cast<NativePluginHints>(NATIVE_PLUGIN_IS_RTSAFE
@@ -224,10 +229,12 @@ static const NativePluginDescriptor sNativePluginDescriptors[] = {
/* copyright */ "GNU GPL v2+", /* copyright */ "GNU GPL v2+",
DESCFUNCS DESCFUNCS
}, },
#endif


// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
// Carla // Carla


#ifndef DISABLE_PLUGINS_FOR_WINDOWS_BUILD
{ {
/* category */ NATIVE_PLUGIN_CATEGORY_OTHER, /* category */ NATIVE_PLUGIN_CATEGORY_OTHER,
/* hints */ static_cast<NativePluginHints>(NATIVE_PLUGIN_IS_SYNTH /* hints */ static_cast<NativePluginHints>(NATIVE_PLUGIN_IS_SYNTH
@@ -333,6 +340,7 @@ static const NativePluginDescriptor sNativePluginDescriptors[] = {
/* copyright */ "GNU GPL v2+", /* copyright */ "GNU GPL v2+",
DESCFUNCS DESCFUNCS
}, },
#endif


// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
// DISTRHO Plugins // DISTRHO Plugins
@@ -538,6 +546,7 @@ static const NativePluginDescriptor sNativePluginDescriptors[] = {
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
// External-UI plugins // External-UI plugins


#ifndef DISABLE_PLUGINS_FOR_WINDOWS_BUILD
{ {
/* category */ NATIVE_PLUGIN_CATEGORY_UTILITY, /* category */ NATIVE_PLUGIN_CATEGORY_UTILITY,
/* hints */ static_cast<NativePluginHints>(NATIVE_PLUGIN_IS_RTSAFE /* hints */ static_cast<NativePluginHints>(NATIVE_PLUGIN_IS_RTSAFE
@@ -573,6 +582,7 @@ static const NativePluginDescriptor sNativePluginDescriptors[] = {
/* copyright */ "GNU GPL v2+", /* copyright */ "GNU GPL v2+",
DESCFUNCS DESCFUNCS
}, },
#endif


// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
// ZynAddSubFX // ZynAddSubFX
@@ -700,6 +710,7 @@ static const NativePluginDescriptor sNativePluginDescriptors[] = {
/* copyright */ "GNU GPL v2+", /* copyright */ "GNU GPL v2+",
DESCFUNCS DESCFUNCS
}, },
# ifndef DISABLE_PLUGINS_FOR_WINDOWS_BUILD
{ {
/* category */ NATIVE_PLUGIN_CATEGORY_SYNTH, /* category */ NATIVE_PLUGIN_CATEGORY_SYNTH,
/* hints */ static_cast<NativePluginHints>(NATIVE_PLUGIN_IS_SYNTH /* hints */ static_cast<NativePluginHints>(NATIVE_PLUGIN_IS_SYNTH
@@ -724,6 +735,7 @@ static const NativePluginDescriptor sNativePluginDescriptors[] = {
/* copyright */ "GNU GPL v2+", /* copyright */ "GNU GPL v2+",
DESCFUNCS DESCFUNCS
}, },
# endif // ! DISABLE_PLUGINS_FOR_WINDOWS_BUILD
#endif // HAVE_ZYN_DEPS #endif // HAVE_ZYN_DEPS






Loading…
Cancel
Save