Reorganize extension-reaper-macos into per-module subfolders, add hello module

Splits socket/tracking into their own subdirectories and pulls the hello
action registration out into its own module, matching the one-module-per-
folder pattern; build.sh now outputs into build/macos instead of the repo root.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Paul Lipscomb
2026-07-22 18:49:25 -04:00
parent 7d4f8a4cd2
commit 2173e366ea
10 changed files with 231 additions and 87 deletions
+10 -4
View File
@@ -3,7 +3,11 @@
set -e
cd "$(dirname "$0")"
OUT="reaper_extension-reaper-macos.dylib"
NAME="reaper_extension-reaper-macos.dylib"
OUT_DIR="build/macos"
OUT="$OUT_DIR/$NAME"
mkdir -p "$OUT_DIR"
clang++ \
-std=c++17 \
@@ -12,13 +16,15 @@ clang++ \
-arch arm64 \
-Ivendor/reaper-sdk/sdk \
-Ivendor/reaper-sdk/WDL \
-Isrc \
-o "$OUT" \
src/main.cpp \
src/tracking.cpp \
src/socket.cpp
src/hello/hello.cpp \
src/tracking/tracking.cpp \
src/socket/socket.cpp
echo "Built $OUT"
DEST="$HOME/Library/Application Support/REAPER/UserPlugins/$OUT"
DEST="$HOME/Library/Application Support/REAPER/UserPlugins/$NAME"
cp "$OUT" "$DEST"
echo "Copied to $DEST (restart REAPER to reload)"