// msger-native build configuration (JSONC — comments stripped before parse).
// Each platform flag toggles whether that target is built/synced; defaults are
// conservative so a fresh checkout only builds the local Windows binary.
{
    "platforms": {
        "windows": true,    // Native build on Windows via cargo (msgernative.exe)
        "wsl": false,       // Cross-build Linux x64 via WSL (msgernative-linux)
        "pi": false,        // Remote SSH build on a Raspberry Pi (msgernative-linux-aarch64)
        "arm64": false,     // Cross-compile Linux ARM64 via WSL (msgernative-linux-aarch64)
        "mac": true         // Sync mac/msgernative-darwin-{arm64,x64} into bin/ at publish time
                            // (Mac binaries are produced on a Mac via mac/build-mac.sh)
    },
    "options": {
        "release": true,    // cargo --release (optimized) vs debug
        "verbose": true,    // Stream cargo output instead of capturing
        "piHost": "pi4c",   // SSH host alias for the `pi` platform
        "piProjectPath": "/home/pi/msger/msger-native"  // Where source is staged on the Pi
    }
}
