Installation And Configuration

Prerequisites

Bde build system expects following software to be preinstalled and configured on the system:

  • CMake (version 3.19 or later)

  • Ninja (recommended) or GNU Make

  • C++ compilers (gcc, clang)

  • Perl (optional). Required only for code generation.

  • Python (version 3.8 or later)

See the Requirements for details.

Download BDE tools

$ git clone https://github.com/bloomberg/bde-tools.git
  • Add the <bde-tools>/bin to the PATH environment variable:

$ export PATH=<bde-tools>/bin:$PATH

Note

Instead of adding bde-tools/bin to your PATH, you can also execute the scripts from directly from bde-tools/bin folder.

Check detected compilers

After installing bde-tools, you can verify the build system installation by listing the compilers that are found on the host:

$ bbs_build_env.py list

In most cases, the tool will list compilers currently installed in the system without any additional configuration.

For custom compilers installation or custom toolchain, please See Add a Custom Compiler Profile

Congratulations! BBS build system is complete and is ready to use.