#!/usr/bin/env bash OUT_DIR=build mkdir -p $OUT_DIR cd $OUT_DIR cmake .. -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" cmake --build .