From e4a0432383331e013808a97b7c24707e4ddc4726 Mon Sep 17 00:00:00 2001 From: srdusr Date: Fri, 26 Sep 2025 12:23:19 +0200 Subject: Initial Commit --- scripts/install_deps_macos.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 scripts/install_deps_macos.sh (limited to 'scripts/install_deps_macos.sh') diff --git a/scripts/install_deps_macos.sh b/scripts/install_deps_macos.sh new file mode 100644 index 0000000..a341cf2 --- /dev/null +++ b/scripts/install_deps_macos.sh @@ -0,0 +1,17 @@ +#!/usr/bin/env bash +set -euo pipefail + +# Ensure Command Line Tools +if ! xcode-select -p >/dev/null 2>&1; then + xcode-select --install || true +fi + +# Install Homebrew if missing +if ! command -v brew >/dev/null 2>&1; then + /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" +fi + +brew update +brew install cmake ninja lua pkg-config git + +echo "Dependencies installed." -- cgit v1.2.3