Skip to main content
Version 3.1 now available

The modern way to build C++

Replace complex CMakeLists with clean TOML configuration. CForge brings cargo-style simplicity to C++ development with beautiful output, dependency management, and powerful developer tools.

C++17+Standard
Cross-platformWindows, macOS, Linux
Open SourcePolyForm License
cforge.toml
# Simple, readable configuration
[project]
name = "my_app"
version = "1.0.0"
cpp_standard = "20"

[dependencies]
fmt = "11.1.4"
spdlog = "1.12.0"
Terminal
$ cforge build --release
   Compiling my_app v1.0.0
    Finished release in 2.1s
See it in action

From zero to running in seconds

Watch how easy it is to create, build, and run a C++ project with CForge

EXPLORER
No folder opened
Select a file to view its contents
Terminal

Why developers choose CForge

Everything you need for modern C++ development, without the complexity

TOML Configuration

Replace CMakeLists.txt with clean, readable TOML. CForge generates optimized CMake behind the scenes.

Package Management

Built-in registry with vcpkg, Git, and system library support. Check for outdated packages easily.

Cross-Platform

Build natively for Windows, macOS, and Linux. Cross-compile for Android, iOS, and WebAssembly.

Workspaces

Manage multiple projects with automatic dependency resolution. Perfect for monorepos.

Beautiful Output

Cargo-style colored output with progress indicators and enhanced error diagnostics.

Developer Tools

Built-in formatting, linting, file watching, documentation, and shell completions.

Complete developer toolkit

All the tools you need for a professional C++ workflow

cforge fmtclang-format
cforge lintclang-tidy
cforge watchAuto-rebuild
cforge docDoxygen
cforge benchPerformance
cforge depsPackages
cforge ideVS Code/CLion
cforge testCTest

Get started in seconds

One command to install, one command to build

WindowsPowerShell
irm https://raw.githubusercontent.com/ChaseSunstrom/cforge/master/scripts/install.ps1 | iex
macOS / LinuxBash
curl -sSL https://raw.githubusercontent.com/ChaseSunstrom/cforge/master/scripts/install.sh | bash

Ready to simplify your C++ workflow?

Join developers who've switched from complex CMake to clean, readable TOML configuration