Toolchain: node/npm/tsc, the go command, cargo, compilers + CMake
#C++ has no single official tool. A compiler (g++, clang++ or MSVC's cl) turns sources into binaries; -std selects the language version and -Wall -Wextra turn on warnings. Projects with more than one file use CMake, which generates build files and drives the compiler. Dependencies come from vcpkg, Conan, the system package manager or CMake's FetchContent, and clang-format and clang-tidy handle formatting and linting.
Fragment
Terminal commands, run from the project folder.
Most used: clang++/g++ -std=c++23 -Wall -Wextra, cmake -S . -B build, cmake --build build, ctest, clang-format -i, clang-tidy.
C++20 modules replace headers with import; C++23 adds import std; for the whole standard library. Support depends on the compiler and build system together: CMake 4.5 (a release candidate as of November 2026) makes import std a supported feature with the Ninja generators for Clang 18.1.2+ (libc++ or libstdc++), MSVC 14.36+ and GCC 15+ (16+ on macOS); CMake 3.30 to 4.4 offer it only behind the CMAKE_EXPERIMENTAL_CXX_IMPORT_STD gate. Most code still uses #include.
Code generators such as protoc run as CMake custom commands (add_custom_command) whose outputs are listed as target sources, so the build regenerates them when their inputs change.