mirror of
https://codeberg.org/armin/terion.git
synced 2026-10-11 16:41:53 +02:00
Add mono toggle, wider scale dropdown, dynamic UI scaling
This commit is contained in:
parent
9ee92e515c
commit
d15e61b96f
6 changed files with 90 additions and 30 deletions
14
Makefile
14
Makefile
|
|
@ -4,6 +4,8 @@
|
|||
BUILD_DIR ?= build
|
||||
LOCAL_JUCE ?= third_party/JUCE
|
||||
HOME_JUCE := $(HOME)/JUCE
|
||||
XDG_JUCE_LOWER := $(HOME)/.local/git/juce
|
||||
XDG_JUCE_UPPER := $(HOME)/.local/git/JUCE
|
||||
CMAKE ?= cmake
|
||||
CONFIG ?= Release
|
||||
JUCE_REPO ?= https://github.com/juce-framework/JUCE.git
|
||||
|
|
@ -14,10 +16,15 @@ CODESIGN_ID ?=
|
|||
VST3_DIR := $(HOME)/Library/Audio/Plug-Ins/VST3/Terion.vst3
|
||||
AU_DIR := $(HOME)/Library/Audio/Plug-Ins/Components/Terion.component
|
||||
|
||||
# Prefer ~/JUCE if present, otherwise use the vendored copy in the repo.
|
||||
# Prefer a local JUCE checkout (~/JUCE, then ~/.local/git/{juce,JUCE}) if
|
||||
# present, otherwise use the vendored copy in the repo.
|
||||
ifeq ($(strip $(JUCE_DIR)),)
|
||||
ifneq ($(wildcard $(HOME_JUCE)/CMakeLists.txt),)
|
||||
JUCE_DIR := $(HOME_JUCE)
|
||||
else ifneq ($(wildcard $(XDG_JUCE_LOWER)/CMakeLists.txt),)
|
||||
JUCE_DIR := $(XDG_JUCE_LOWER)
|
||||
else ifneq ($(wildcard $(XDG_JUCE_UPPER)/CMakeLists.txt),)
|
||||
JUCE_DIR := $(XDG_JUCE_UPPER)
|
||||
else
|
||||
JUCE_DIR := $(LOCAL_JUCE)
|
||||
endif
|
||||
|
|
@ -28,7 +35,8 @@ endif
|
|||
all: configure
|
||||
$(CMAKE) --build $(BUILD_DIR) --config $(CONFIG) -j$(JOBS)
|
||||
|
||||
# Ensure a JUCE source tree is available: use ~/JUCE, else clone into third_party/.
|
||||
# Ensure a JUCE source tree is available: use a local checkout
|
||||
# (~/JUCE or ~/.local/git/{juce,JUCE}), else clone into third_party/.
|
||||
juce:
|
||||
@if [ ! -f "$(JUCE_DIR)/CMakeLists.txt" ]; then \
|
||||
if [ ! -d "$(dir $(JUCE_DIR))" ]; then mkdir -p "$(dir $(JUCE_DIR))"; fi; \
|
||||
|
|
@ -94,7 +102,7 @@ deepclean: clean
|
|||
help:
|
||||
@echo "Targets:"
|
||||
@echo " all configure + build"
|
||||
@echo " juce clone JUCE into third_party/JUCE if missing (else use ~/JUCE)"
|
||||
@echo " juce clone JUCE into third_party/JUCE if missing (else use ~/JUCE or ~/.local/git/{juce,JUCE})"
|
||||
@echo " configure run CMake configure against $(BUILD_DIR)"
|
||||
@echo " build compile the configured tree"
|
||||
@echo " sign codesign both installed plugin bundles (ad-hoc by default)"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue