Skip to content

Commit

Permalink
Opt-in WITH_FUNDAMENTAL build flag for testing
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <[email protected]>
  • Loading branch information
falkTX committed Jan 31, 2022
1 parent 8e1076c commit fe2d464
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 11 deletions.
14 changes: 9 additions & 5 deletions plugins/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -468,11 +468,15 @@ FEHLERFABRIK_CUSTOM = Operator Sequencer SlewLimiter
# --------------------------------------------------------------
# Fundamental

# PLUGIN_FILES += $(filter-out Fundamental/src/plugin.cpp,$(wildcard Fundamental/src/*.cpp))
# PLUGIN_FILES += Fundamental/src/dr_wav.c
#
# # modules/types which are present in other plugins
# FUNDAMENTAL_CUSTOM = $(DRWAV)
ifeq ($(WITH_FUNDAMENTAL),true)
BASE_FLAGS += -DWITH_FUNDAMENTAL

PLUGIN_FILES += $(filter-out Fundamental/src/plugin.cpp,$(wildcard Fundamental/src/*.cpp))
PLUGIN_FILES += Fundamental/src/dr_wav.c

# modules/types which are present in other plugins
FUNDAMENTAL_CUSTOM = $(DRWAV)
endif

# --------------------------------------------------------------
# GlueTheGiant
Expand Down
16 changes: 10 additions & 6 deletions plugins/plugins.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -305,9 +305,9 @@ void setupSamples();
#include "FehlerFabrik/src/plugin.hpp"

// Fundamental
/*
#ifdef WITH_FUNDAMENTAL
#include "Fundamental/src/plugin.hpp"
*/
#endif

// GlueTheGiant
#include "GlueTheGiant/src/plugin.hpp"
Expand Down Expand Up @@ -565,7 +565,9 @@ Plugin* pluginInstance__ESeries;
Plugin* pluginInstance__ExpertSleepersEncoders;
Plugin* pluginInstance__Extratone;
Plugin* pluginInstance__FehlerFabrik;
// Plugin* pluginInstance__Fundamental;
#ifdef WITH_FUNDAMENTAL
Plugin* pluginInstance__Fundamental;
#endif
Plugin* pluginInstance__GrandeModular;
Plugin* pluginInstance__GlueTheGiant;
Plugin* pluginInstance__HetrickCV;
Expand Down Expand Up @@ -1406,7 +1408,7 @@ static void initStatic__FehlerFabrik()
}
}

/*
#ifdef WITH_FUNDAMENTAL
static void initStatic__Fundamental()
{
Plugin* const p = new Plugin;
Expand Down Expand Up @@ -1456,7 +1458,7 @@ static void initStatic__Fundamental()
}
}
}
*/
#endif

static void initStatic__GlueTheGiant()
{
Expand Down Expand Up @@ -1998,7 +2000,9 @@ void initStaticPlugins()
initStatic__ExpertSleepersEncoders();
initStatic__Extratone();
initStatic__FehlerFabrik();
// initStatic__Fundamental();
#ifdef WITH_FUNDAMENTAL
initStatic__Fundamental();
#endif
initStatic__GlueTheGiant();
initStatic__GrandeModular();
initStatic__HetrickCV();
Expand Down

0 comments on commit fe2d464

Please sign in to comment.