bde

Basic Development Environment - a set of foundational C++ libraries used at Bloomberg.

Github stars Tracking Chart

BDE Libraries

This repository contains the BDE libraries, currently BSL (Basic Standard
Library), BDL (Basic Development Library), BAL (Basic Application Library), and
BBL (Basic Business Library).

Documentation and Build Links

For more information about BDE libraries follow the links below.

Open Source

Bloomberg LP (internal)

Build Instructions

BDE uses a build system based on cmake. The build system is located in the
BDE tools repository (see Documentation Links).

Prerequisites

The BDE CMake build system requires the following software to be preinstalled and configured on the system:

Note that python is used by the build helpers bde_build_env.py and cmake_build.py, but is not strictly needed
to build BDE. See the more complete build instructions linked below for more detail.

Build Instructions (Open Source)

Please see the more complete build instructions for open source users.

The following commands can be used to configure and build the BDE repository:

  1. Clone the bde-tools and bde repositories and add bde-tools to your PATH:

    $ git clone https://github.com/bloomberg/bde-tools.git
    $ export PATH=$PWD/bde-tools/bin:$PATH      # add bde-tools to the 'PATH'
    $ git clone https://github.com/bloomberg/bde.git
    $ cd bde
    
  2. From the root of this source repository, run:

    $ export BDE_CMAKE_BUILD_DIR=$PWD/_build   # configure the build directory
    $ cmake_build.py configure -u dbg_exc_mt_64_cpp14
    
  3. To build the libraries, but not the test drivers, run:

    $ cmake_build.py build
    

    To also build the test drivers, run:

    $ cmake_build.py build --test build
    

    To build and run the test drivers, run:

    $ cmake_build.py build --test run
    

Build Instructions (Bloomberg LP)

Please see the more complete build instructions for Bloomberg LP users.

The following commands can be used to configure and build the BDE repository:

  1. Clone the bde-tools and bde repositories and add bde-tools to your PATH:

    $ git clone bbgithub:bde/bde-tools
    $ export PATH=$PWD/bde-tools/bin:$PATH      # add bde-tools to the 'PATH'
    $ git clone bbgithub:bde/bde
    $ cd bde
    
  2. From the root of this source repository, run:

    $ export BDE_CMAKE_BUILD_DIR=$PWD/_build   # configure the build directory
    $ cmake_build.py configure -u dbg_exc_mt_64_cpp14
    
  3. To build the libraries, but not the test drivers, run:

    $ cmake_build.py build
    

    To also build the test drivers, run:

    $ cmake_build.py build --test build
    

    To build and run the test drivers, run:

    $ cmake_build.py build --test run
    

License

The BDE libraries are distributed under the Apache License (version 2.0); see
the LICENSE file at the top of the source tree for more information.

Main metrics

Overview
Name With Ownerbloomberg/bde
Primary LanguageC++
Program languageC++ (Language Count: 9)
Platform
License:Apache License 2.0
所有者活动
Created At2012-11-09 20:00:30
Pushed At2025-06-16 19:15:03
Last Commit At2022-10-05 08:56:11
Release Count560
Last Release Name4.25.0.0 (Posted on 2025-05-18 14:41:30)
First Release NameBLP_LIB_A_BTESO_2.4.0 (Posted on )
用户参与
Stargazers Count1.7k
Watchers Count149
Fork Count322
Commits Count15.3k
Has Issues Enabled
Issues Count115
Issue Open Count15
Pull Requests Count56
Pull Requests Open Count7
Pull Requests Close Count124
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private