C++ Logo

std-proposals

Advanced search

[std-proposals] The C plusplus package manage and build tool proposal

From: <geguji60_at_[hidden]>
Date: Fri, 23 Jan 2026 21:17:25 +0800 (GMT+08:00)
Subject: Follow-up: Presenting Initial Design Concepts for Standardizing Build Configuration

Dear C++ Standards Committee,

Continuing from my previous communication, I wish to present some preliminary design concepts concerning build configuration. Initially, I propose adopting TOML as the configuration file format, owing to its superior intuitiveness and readability when compared to alternatives like XML, JSON, or others.

I have also thoroughly evaluated existing C++ build tools. For instance, while CMake boasts robust functionality, its syntax can be somewhat non-standard, which I believe detracts from its suitability for a contemporary build system. Similarly, tools like Make, though historically significant, now appear somewhat antiquated in light of current development demands.

For the advancement of C++, I am convinced that projects would greatly benefit from a build configuration file that is both straightforward and intuitive. This conviction has led me to select TOML as the basis for my design. Moreover, I am actively engaged in developing a tool that embodies this concept.

Below is a sample of the syntax I am advocating:

Target Definition:
[target.main]
flags = ["-O2"]
src = ["src/main.cpp"]
buildtype = "Release"
A Basic Project Example:
[project]
name = "Hello C++"
version = "0.1"
license = "MIT"
standard = "c++20"
toolchain = "Clang"

[target.main]
# Refer to the target definition above
# ...

I am eager to receive any initial insights or feedback regarding this proposed direction.

[Your Name]

Received on 2026-01-23 13:17:34