Skip to main content

Fast C/C++ Builder written in Python

Project description

BuildPy: A Build System for only C, C++

written in Python

Usage

install pip module:

pip install fbp

then create file with named <project-name>.buildpy in your C/C++ project
run command fbp <project-name> when build

Example

folders {
  include = include
  source  = src
}

build {
  .fast = true
  .use_glob = true
  .no_overwrite = copy_folder

  compiler {
    c   = clang
    cpp = clang++
  }

  extensions {
    c   = c
    cpp = cc cxx cpp
  }

  flags {
    opti  = -O2
    c     = $opti -Wno-switch -Wimplicit-fallthrough
    cpp   = $c -std=c++20
    link  = -Wl,--gc-sections
  }

  objects_folder = build
  linker = $compiler.cpp
}

Contribute

welcome!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fbp-1.3.6.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fbp-1.3.6-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file fbp-1.3.6.tar.gz.

File metadata

  • Download URL: fbp-1.3.6.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for fbp-1.3.6.tar.gz
Algorithm Hash digest
SHA256 48131f63479a741993df48c670845f5fdef89e7b7aebe5a7298fe5679d243770
MD5 04e0b8c8bb8806c36fb1d51f6b8bb2d3
BLAKE2b-256 9de298a86dc9394521e2f3b1dae14407676d58c3c890091c15bc5b7392018b6b

See more details on using hashes here.

File details

Details for the file fbp-1.3.6-py3-none-any.whl.

File metadata

  • Download URL: fbp-1.3.6-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for fbp-1.3.6-py3-none-any.whl
Algorithm Hash digest
SHA256 7c7311a4a9b9b60c3829f1d02dd6079bcc82827d523844f20501e2dd1a2fdbce
MD5 38be13150e6a8e03ddf893c0490fa184
BLAKE2b-256 281965a82146b12b74f8841098bce356999ed35c3568c1b060685a6ad30c0307

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page