Skip to main content

cforge

A fast, cross-platform build tool for C and C++ written in Rust

โš ๏ธ BETA VERSION โš ๏ธ

This software is currently in BETA. Features may be incomplete, contain bugs, or change without notice.

What is CForge?

CForge is a modern build system designed to simplify C/C++ project management. It provides a clean TOML-based configuration approach while leveraging the power of CMake and vcpkg under the hood.

Why Use CForge?

Managing C/C++ projects can be complex with traditional build systems. CForge makes it simple with:

  • Simple TOML configuration files instead of complex CMake syntax
  • Built-in dependency management with vcpkg, Conan, and Git integration
  • Workspace support for multi-project development
  • Cross-platform support for Windows, macOS, and Linux
  • Cross-compilation for Android, iOS, Raspberry Pi, and WebAssembly
โš™๏ธ

Simple Configuration

Use simple TOML files to configure your projects instead of complex CMake syntax. CForge handles the CMake generation behind the scenes.

๐Ÿ“ฆ

Dependency Management

Integrated support for vcpkg, Conan, Git dependencies, and more. Manage all your libraries with ease.

๐ŸŒ

Multi-Platform

Build for Windows, macOS, Linux, and cross-compile for Android, iOS, Raspberry Pi, and WebAssembly.

๐Ÿ—‚๏ธ

Workspaces

Manage multiple related projects together. Dependencies between projects are automatically resolved.

๐Ÿ–ฅ๏ธ

IDE Integration

Generate project files for VS Code, CLion, Xcode, and Visual Studio with a single command.

๐Ÿงช

Testing Support

Built-in integration with CTest for unit testing and test automation.