Coding

build2 – native, cross-platform build system

build2 is a native, cross-platform build system designed for complex software projects. It provides a terse, mostly declarative build language and a general DAG-based model, with extensive support for developing C and C++ software.

The build system is part of the wider build2 toolchain, which also includes package and project dependency managers, but it can be installed and used independently.

This is free and open source software.

Key Features

  • Offers a concise, mostly declarative build description language.
  • Uses a dependency graph to perform parallel and incremental builds.
  • Provides extensive support for C and C++ projects.
  • Works with GCC, Clang, MSVC and MinGW toolchains.
  • Supports executables, static libraries and shared libraries.
  • Offers separate source and output directory configurations.
  • Supports cross-compilation and multiple build configurations.
  • Provides configurable build variables, target types, rules and functions.
  • Can be extended with dynamically loaded build system modules.
  • Includes facilities for testing, installation and distribution.
  • Integrates with the bpkg package manager and bdep project manager.
  • Can also handle non-C/C++ projects and general DAG-based operations.
  • Cross-platform support – runs on Linux, macOS, Windows and FreeBSD

Website: github.com/build2/build2
Support:
Developer: build2 authors
License: MIT License

build2 is written in C++. Learn C++ with our recommended free books and free tutorials.


Related Software

Build Systems
CargoRust package manager
gulpToolkit to automate & enhance your workflow
BazelBuild and test your multi-language, multi-platform projects
Apache MavenBuild automation tool used primarily for Java projects
GradleBuild tool with a focus on build automation and support for multi-language
MesonNext-generation build system
sbtExtensible task and dependency tool for Scala projects
CMakeFamily of tools designed to build, test and package software
Buck2Encourages the creation of small, reusable modules
LeiningenAutomating Clojure projects
GruntJavaScript Task Runner
NinjaSmall build system with a focus on speed
MillFast, flexible task runner for JVM-based software projects
xmakeCross-platform build utility based on Lua
SConsSoftware construction tool
PantsScalable build system for monorepos
PHingBuild system based on Apache Ant
PleaseFast cross-language automation for large codebases
Rakemake-like build utility for Ruby
Apache AntTool for automating software build processes
Rebar3Feature-rich project and dependency tool for Erlang applications
CabalCommon Architecture for Building Applications and Libraries
FASTBuildHigh-performance tool with caching and distributed processing
DuneComposable project automation tailored to the OCaml ecosystem
build2Native cross-platform toolchain for C and C++ projects

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted