Crate caxe

Crate caxe 

Source
Expand description

§caxe - Modern C/C++ Project Manager

caxe (pronounced “c-axe”) is a zero-config build tool that cuts through C/C++ complexity.

§Features

  • Zero Configuration: Create and build C/C++ projects with zero setup
  • Automatic Toolchain Detection: Finds MSVC, Clang, GCC automatically
  • Smart Dependencies: Git-based with pinning (tag/branch/rev)
  • Parallel Builds: Lock-free compilation using all CPU cores
  • Cross-Platform: Windows, Linux, macOS, WebAssembly, Arduino

§Quick Start

# Create a new project
cx new myapp

# Build and run
cx run

§Module Organization

  • build - Core compilation engine with parallel builds
  • config - Configuration parsing (cx.toml)
  • deps - Dependency fetching and management
  • toolchain - Compiler detection and selection
  • commands - CLI command handlers

Modules§

build
Core build system with parallel compilation. Core build system with parallel compilation.
cache
Global dependency cache management. Global dependency cache management.
checker
Code quality tools (clang-format, clang-tidy). Code quality tools: formatting and static analysis.
ci
CI/CD configuration generators. CI/CD configuration generator.
commands
CLI command handlers extracted from main. CLI Command handlers
config
Configuration file parsing (cx.toml). Configuration file parsing for cx.toml.
deps
Dependency fetching and management. Dependency fetching and management.
doc
Documentation generation (Doxygen).
docker
Docker configuration generator. Docker configuration generator.
ide
IDE configuration generators (VSCode). IDE configuration generators.
import
Project import and scanning. Project import and initialization.
lock
Lockfile (cx.lock) management.
package
Project packaging and distribution. Project packaging and distribution.
registry
Library registry for cx add.
stats
Code statistics and metrics. Code statistics and metrics.
templates
Project templates (console, web, raylib, etc.). Project templates for cx new.
toolchain
Toolchain detection and installation. Toolchain discovery and management
tree
Dependency tree visualization. Dependency tree visualization.
ui
Terminal UI utilities (tables, colors). Terminal UI utilities.
upgrade
Self-upgrade functionality. Self-upgrade functionality.