Build and check¶
Install CMake and a native C++ toolchain. On macOS use Xcode. Supply a complete SDK installation explicitly; it is not downloaded or vendored automatically. The exercised SDK is 3.8.1; other versions are not established as compatible.
CARGO_BUILD_JOBS=2 python3 scripts/bundle-vst3.py --legacy-reference --sdk /path/to/vst3sdk
# Optional macOS embedded editor and actual-bundle editor probe:
CARGO_BUILD_JOBS=2 python3 scripts/bundle-vst3.py --legacy-reference --sdk /path/to/vst3sdk --native-editor
# Optional macOS factory list/selector (can combine with --native-editor):
CARGO_BUILD_JOBS=2 python3 scripts/bundle-vst3.py --legacy-reference --sdk /path/to/vst3sdk --factory-programs
# Separate public performance instrument (generic host UI):
CARGO_BUILD_JOBS=2 python3 scripts/bundle-vst3.py --legacy-reference --sdk /path/to/vst3sdk --plugin performance
# A debug build is also available:
CARGO_BUILD_JOBS=2 python3 scripts/bundle-vst3.py --legacy-reference --sdk /path/to/vst3sdk --profile debug
The script builds the Rust static library and CMake plug-in/validator/contracts
with two build jobs. It runs CTest and Steinberg's validator, includes the supplied
SDK licence and RAVET GPL notice, and ad hoc signs the macOS bundle. Artifacts
stay under target/vst3; SDK link/install helpers are disabled. Nothing is
published, installed in a normal host directory or commercially signed.
Gain remains the default legacy profile when --legacy-reference is selected. --plugin performance selects the separate
native performance archive, module and instrument contracts; its isolated build
root is target/vst3/performance/{debug,release}. --native-editor and
--factory-programs apply to Gain only and reject with Performance before build
mutation. The selected bundle alone receives notices/signing and dynamic SDK
validation; unrelated outputs are ignored. Shared mechanics live in
scripts/vst3_bundle.py. See
decision0176.
Only macOS arm64 has been executed; Windows/Linux build branches need native validation and complete target-specific Rust static-link system libraries.