1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
//! # 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
//!
//! ```bash
//! # 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
/// Core build system with parallel compilation.
/// Global dependency cache management.
/// Code quality tools (clang-format, clang-tidy).
/// CI/CD configuration generators.
/// CLI command handlers extracted from main.
/// Configuration file parsing (`cx.toml`).
/// Dependency fetching and management.
/// Documentation generation (Doxygen).
/// Docker configuration generator.
/// IDE configuration generators (VSCode).
/// Project import and scanning.
/// Lockfile (`cx.lock`) management.
/// Project packaging and distribution.
/// Library registry for `cx add`.
/// Code statistics and metrics.
/// Project templates (console, web, raylib, etc.).
/// Toolchain detection and installation.
/// Dependency tree visualization.
/// Terminal UI utilities (tables, colors).
/// Self-upgrade functionality.