Browse Source

Update build system

tags/v0.5.0
Andrew Belt 7 years ago
parent
commit
8405e6545a
2 changed files with 17 additions and 15 deletions
  1. +2
    -1
      Makefile
  2. +15
    -14
      src/Fundamental.cpp

+ 2
- 1
Makefile View File

@@ -1,11 +1,12 @@


SOURCES = $(wildcard src/*.cpp) SOURCES = $(wildcard src/*.cpp)



include ../../plugin.mk include ../../plugin.mk




dist: all dist: all
mkdir -p dist/Fundamental mkdir -p dist/Fundamental
cp LICENSE* dist/Fundamental/ cp LICENSE* dist/Fundamental/
cp plugin.* dist/Fundamental/
cp $(TARGET) dist/Fundamental/
cp -R res dist/Fundamental/ cp -R res dist/Fundamental/

+ 15
- 14
src/Fundamental.cpp View File

@@ -5,18 +5,19 @@ Plugin *plugin;


void init(rack::Plugin *p) { void init(rack::Plugin *p) {
plugin = p; plugin = p;
plugin->slug = "Fundamental";
plugin->name = "Fundamental";
plugin->homepageUrl = "https://github.com/VCVRack/Fundamental";
createModel<VCOWidget>(plugin, "VCO", "VCO-1");
createModel<VCO2Widget>(plugin, "VCO2", "VCO-2");
createModel<VCFWidget>(plugin, "VCF", "VCF");
createModel<VCAWidget>(plugin, "VCA", "VCA");
createModel<LFOWidget>(plugin, "LFO", "LFO-1");
createModel<LFO2Widget>(plugin, "LFO2", "LFO-2");
createModel<DelayWidget>(plugin, "Delay", "Delay");
createModel<ADSRWidget>(plugin, "ADSR", "ADSR");
createModel<VCMixerWidget>(plugin, "VCMixer", "VC Mixer");
createModel<ScopeWidget>(plugin, "Scope", "Scope");
createModel<SEQ3Widget>(plugin, "SEQ3", "SEQ-3");
p->slug = "Fundamental";
#ifdef VERSION
p->version = TOSTRING(VERSION);
#endif
p->addModel(createModel<VCOWidget>("Fundamental", "Fundamental", "VCO", "VCO-1"));
p->addModel(createModel<VCO2Widget>("Fundamental", "Fundamental", "VCO2", "VCO-2"));
p->addModel(createModel<VCFWidget>("Fundamental", "Fundamental", "VCF", "VCF"));
p->addModel(createModel<VCAWidget>("Fundamental", "Fundamental", "VCA", "VCA"));
p->addModel(createModel<LFOWidget>("Fundamental", "Fundamental", "LFO", "LFO-1"));
p->addModel(createModel<LFO2Widget>("Fundamental", "Fundamental", "LFO2", "LFO-2"));
p->addModel(createModel<DelayWidget>("Fundamental", "Fundamental", "Delay", "Delay"));
p->addModel(createModel<ADSRWidget>("Fundamental", "Fundamental", "ADSR", "ADSR"));
p->addModel(createModel<VCMixerWidget>("Fundamental", "Fundamental", "VCMixer", "VC Mixer"));
p->addModel(createModel<ScopeWidget>("Fundamental", "Fundamental", "Scope", "Scope"));
p->addModel(createModel<SEQ3Widget>("Fundamental", "Fundamental", "SEQ3", "SEQ-3"));
} }

Loading…
Cancel
Save