Dotfiles/setup/modules/optional-Modules/apps/codeblocks.sh

29 lines
1.2 KiB
Bash

#!/bin/bash
# ============================================================
# codeblocks.sh — Code::Blocks IDE
# ============================================================
# Installs Code::Blocks, a free, open-source, cross-platform
# C/C++ and Fortran IDE. It features a plugin architecture
# that supports multiple compilers (GCC, Clang, MSVC) and
# debuggers.
#
# Code::Blocks is available in the official Arch repos and is
# installed via pacman.
#
# This is an optional module because it is a GUI IDE that is
# mainly relevant to developers who prefer a graphical
# environment over terminal-based editors for C/C++ work.
# ============================================================
set -euo pipefail
# Load shared logging helpers from the dotfiles lib
source "$(dirname "${BASH_SOURCE[0]}")/../../lib/logging.sh"
# ── codeblocks (official repos) ───────────────────────────────────────────────
# The codeblocks package includes the IDE, its built-in GCC compiler plugin,
# and the wxWidgets GUI toolkit it depends on.
log "Installing Code::Blocks..."
sudo pacman -S --noconfirm --needed codeblocks
log "Code::Blocks installed."