Skip to content

Commit 5bfcf6c

Browse files
authored
Merge pull request #408 from StoneyDSP/development
merge development
2 parents 13ab0ca + f6e8c00 commit 5bfcf6c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+4400
-1381
lines changed

.github/workflows/macos-latest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
# https://vcvrack.com/manual/Building#Setting-up-your-development-environment
3939
- name: Install VCV's macOS Deps
4040
run: |
41-
brew install git wget cmake autoconf automake libtool jq python zstd pkg-config sccache ninja tree
41+
brew install coreutils git wget cmake autoconf automake libtool jq python zstd pkg-config sccache ninja tree
4242
4343
- name: checkout StoneyVCV
4444
uses: actions/checkout@v4

.github/workflows/static.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353

5454
- name: Install VCV's Linux Deps
5555
run: |
56-
sudo apt-get update && sudo apt install make doxygen ninja-build cmake graphviz
56+
sudo apt-get update && sudo apt install coreutils make doxygen ninja-build cmake graphviz
5757
5858
- name: get Rack Executable
5959
shell: bash

.github/workflows/ubuntu-latest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
shell: bash
4141
run: |
4242
sudo apt-get update
43-
sudo apt install unzip git gdb curl cmake libx11-dev libglu1-mesa-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev zlib1g-dev libasound2-dev libgtk2.0-dev libgtk-3-dev libjack-jackd2-dev jq zstd libpulse-dev pkg-config ninja-build ccache tree
43+
sudo apt install coreutils unzip git gdb curl cmake libx11-dev libglu1-mesa-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev zlib1g-dev libasound2-dev libgtk2.0-dev libgtk-3-dev libjack-jackd2-dev jq zstd libpulse-dev pkg-config ninja-build ccache tree
4444
4545
- name: checkout StoneyVCV
4646
uses: actions/checkout@v4

.github/workflows/windows-latest.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ jobs:
5252
install: >-
5353
--needed
5454
base-devel
55+
coreutils
5556
git
5657
curl
5758
wget

.vscode/settings.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@
88
80,
99
160
1010
],
11-
"makefile.configureOnOpen": false,
11+
"makefile.configureOnOpen": true,
12+
"makefile.compileCommandsPath": "${workspaceFolder}/build/compile_commands_make.json",
13+
"makefile.makefilePath": "${workspaceFolder}/Makefile",
14+
"makefile.makePath": "make",
1215
"cmake.cmakePath": "cmake",
1316
"cmake.ctestPath": "ctest",
1417
"cmake.cpackPath": "cpack",
@@ -60,6 +63,7 @@
6063
"C_Cpp.default.defines": [
6164
"_DEBUG=1",
6265
"STONEYVCV_EXPERIMENTAL",
66+
"STONEYVCV_BUILD_COMPONENTLIBRARY=1",
6367
"STONEYVCV_BUILD_PLUGIN=1",
6468
"STONEYVCV_BUILD_MODULES=1",
6569
"STONEYVCV_BUILD_HP4=1",

CMakeLists.txt

Lines changed: 179 additions & 265 deletions
Large diffs are not rendered by default.

CMakeOptions.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@
2323
"value": "ON",
2424
"type": "BOOL"
2525
},
26+
"STONEYVCV_BUILD_COMPONENTLIBRARY": {
27+
"value": "ON",
28+
"type": "BOOL"
29+
},
2630
"STONEYVCV_BUILD_PLUGIN": {
2731
"value": "ON",
2832
"type": "BOOL"

Makefile

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,14 @@ FLAGS += -DSTONEYVCV_VERSION_MAJOR=$(STONEYVCV_VERSION_MAJOR)
108108
FLAGS += -DSTONEYVCV_VERSION_MINOR=$(STONEYVCV_VERSION_MINOR)
109109
FLAGS += -DSTONEYVCV_VERSION_PATCH=$(STONEYVCV_VERSION_PATCH)
110110
FLAGS += -DSTONEYVCV_VERSION_TWEAK=$(STONEYVCV_VERSION_TWEAK)
111+
FLAGS += -DSTONEYVCV_VERSION=$(STONEYVCV_VERSION)
111112

112113
# Experimental?
113114
STONEYVCV_EXPERIMENTAL ?= 0
114115

116+
# Component Library?
117+
STONEYVCV_BUILD_COMPONENTLIBRARY ?= 1
118+
115119
# Build plugin?
116120
STONEYVCV_BUILD_PLUGIN ?= 1
117121

@@ -123,10 +127,24 @@ STONEYVCV_BUILD_HP1 ?= $(STONEYVCV_BUILD_MODULES)
123127
STONEYVCV_BUILD_VCA ?= $(STONEYVCV_BUILD_MODULES)
124128
STONEYVCV_BUILD_LFO ?= $(STONEYVCV_EXPERIMENTAL)
125129

130+
# ifneq ($(STONEYVCV_BUILD_COMPONENTLIBRARY),$(STONEYVCV_BUILD_PLUGIN))
131+
# $(error STONEYVCV_BUILD_PLUGIN requires that STONEYVCV_BUILD_COMPONENTLIBRARY=1)
132+
# endif
133+
134+
SOURCES += src/StoneyVCV.cpp
135+
136+
ifeq ($(STONEYVCV_BUILD_COMPONENTLIBRARY),1)
137+
FLAGS += -DSTONEYVCV_BUILD_COMPONENTLIBRARY=$(STONEYVCV_BUILD_COMPONENTLIBRARY)
138+
SOURCES += src/StoneyVCV/ComponentLibrary.cpp
139+
SOURCES += src/StoneyVCV/ComponentLibrary/Widget.cpp
140+
SOURCES += src/StoneyVCV/ComponentLibrary/PortWidget.cpp
141+
SOURCES += src/StoneyVCV/ComponentLibrary/ParamWidget.cpp
142+
SOURCES += src/StoneyVCV/ComponentLibrary/PanelWidget.cpp
143+
endif
144+
126145
ifeq ($(STONEYVCV_BUILD_PLUGIN),1)
127146
FLAGS += -DSTONEYVCV_BUILD_PLUGIN=$(STONEYVCV_BUILD_PLUGIN)
128147
SOURCES += src/StoneyVCV/plugin.cpp
129-
SOURCES += src/StoneyVCV/ComponentLibrary.cpp
130148

131149
ifeq ($(STONEYVCV_BUILD_MODULES),1)
132150
FLAGS += -DSTONEYVCV_BUILD_MODULES=$(STONEYVCV_BUILD_MODULES)
@@ -217,7 +235,7 @@ endif
217235

218236
EXTERNAL_DEPS :=
219237
EXTERNAL_DEPS += StoneyDSP
220-
EXTERNAL_DEPS += Rack-SDK
238+
# EXTERNAL_DEPS += Rack-SDK
221239
# EXTERNAL_DEPS += catch2
222240

223241
PKG_CONFIG_PATH := $(PWD)/build/vcpkg_installed/$(TRIPLET_ARCH)-$(TRIPLET_OS)/lib/pkgconfig:$(PKG_CONFIG_PATH)

README.md

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,8 @@
22

33
StoneyDSP modules for [VCV Rack 2](https://vcvrack.com/).
44

5-
[![HP1](https://raw.githubusercontent.com/StoneyDSP/StoneyVCV/refs/heads/production/res/specs/HP1-light.svg)](https://stoneydsp.github.io/StoneyVCV/md_docs_2HP1.html#gh-light-mode-only)
6-
[![HP1](https://raw.githubusercontent.com/StoneyDSP/StoneyVCV/refs/heads/production/res/specs/HP1-dark.svg)](https://stoneydsp.github.io/StoneyVCV/md_docs_2HP1.html#gh-dark-mode-only)
7-
[![HP2](https://raw.githubusercontent.com/StoneyDSP/StoneyVCV/refs/heads/production/res/specs/HP2-light.svg)](https://stoneydsp.github.io/StoneyVCV/md_docs_2HP2.html#gh-light-mode-only)
8-
[![HP2](https://raw.githubusercontent.com/StoneyDSP/StoneyVCV/refs/heads/production/res/specs/HP2-dark.svg)](https://stoneydsp.github.io/StoneyVCV/md_docs_2HP2.html#gh-dark-mode-only)
9-
[![HP4](https://raw.githubusercontent.com/StoneyDSP/StoneyVCV/refs/heads/production/res/specs/HP4-light.svg)](https://stoneydsp.github.io/StoneyVCV/md_docs_2HP4.html#gh-light-mode-only)
10-
[![HP4](https://raw.githubusercontent.com/StoneyDSP/StoneyVCV/refs/heads/production/res/specs/HP4-dark.svg)](https://stoneydsp.github.io/StoneyVCV/md_docs_2HP4.html#gh-dark-mode-only)
11-
[![VCA](https://raw.githubusercontent.com/StoneyDSP/StoneyVCV/refs/heads/production/res/specs/VCA-light.svg)](https://stoneydsp.github.io/StoneyVCV/md_docs_2VCA.html#gh-light-mode-only)
12-
[![VCA](https://raw.githubusercontent.com/StoneyDSP/StoneyVCV/refs/heads/production/res/specs/VCA-dark.svg)](https://stoneydsp.github.io/StoneyVCV/md_docs_2VCA.html#gh-dark-mode-only)
5+
[![Preview](https://raw.githubusercontent.com/StoneyDSP/StoneyVCV/refs/heads/production/res/images/preview-light.png)](https://raw.githubusercontent.com/StoneyDSP/StoneyVCV/refs/heads/production/res/images/preview-light.png#gh-light-mode-only)
6+
[![Preview](https://raw.githubusercontent.com/StoneyDSP/StoneyVCV/refs/heads/production/res/images/preview-dark.png)](https://raw.githubusercontent.com/StoneyDSP/StoneyVCV/refs/heads/production/res/images/preview-dark.png#gh-dark-mode-only)
137

148
---
159
[![windows](https://github.com/StoneyDSP/StoneyVCV/actions/workflows/windows-latest.yml/badge.svg)](https://github.com/StoneyDSP/StoneyVCV/actions/workflows/windows-latest.yml)
@@ -52,6 +46,17 @@ make install
5246

5347
---
5448

49+
[![HP1](https://raw.githubusercontent.com/StoneyDSP/StoneyVCV/refs/heads/production/res/specs/HP1-light.svg)](https://stoneydsp.github.io/StoneyVCV/md_docs_2HP1.html#gh-light-mode-only)
50+
[![HP1](https://raw.githubusercontent.com/StoneyDSP/StoneyVCV/refs/heads/production/res/specs/HP1-dark.svg)](https://stoneydsp.github.io/StoneyVCV/md_docs_2HP1.html#gh-dark-mode-only)
51+
[![HP2](https://raw.githubusercontent.com/StoneyDSP/StoneyVCV/refs/heads/production/res/specs/HP2-light.svg)](https://stoneydsp.github.io/StoneyVCV/md_docs_2HP2.html#gh-light-mode-only)
52+
[![HP2](https://raw.githubusercontent.com/StoneyDSP/StoneyVCV/refs/heads/production/res/specs/HP2-dark.svg)](https://stoneydsp.github.io/StoneyVCV/md_docs_2HP2.html#gh-dark-mode-only)
53+
[![HP4](https://raw.githubusercontent.com/StoneyDSP/StoneyVCV/refs/heads/production/res/specs/HP4-light.svg)](https://stoneydsp.github.io/StoneyVCV/md_docs_2HP4.html#gh-light-mode-only)
54+
[![HP4](https://raw.githubusercontent.com/StoneyDSP/StoneyVCV/refs/heads/production/res/specs/HP4-dark.svg)](https://stoneydsp.github.io/StoneyVCV/md_docs_2HP4.html#gh-dark-mode-only)
55+
[![VCA](https://raw.githubusercontent.com/StoneyDSP/StoneyVCV/refs/heads/production/res/specs/VCA-light.svg)](https://stoneydsp.github.io/StoneyVCV/md_docs_2VCA.html#gh-light-mode-only)
56+
[![VCA](https://raw.githubusercontent.com/StoneyDSP/StoneyVCV/refs/heads/production/res/specs/VCA-dark.svg)](https://stoneydsp.github.io/StoneyVCV/md_docs_2VCA.html#gh-dark-mode-only)
57+
58+
---
59+
5560
## Requirements
5661

5762
Complete the [Setting up your development environment](https://vcvrack.com/manual/Building#Setting-up-your-development-environment) section of the [VCV Rack Plugin Development guide](https://vcvrack.com/manual/Building). Briefly, you will need the following installations at minimum:

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.0.1197.64336465306163
1+
2.0.1315.39643163383062

0 commit comments

Comments
 (0)