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 .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.4.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.4-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fbp-1.3.4.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.4.tar.gz
Algorithm Hash digest
SHA256 aac1bf4b64515fdbd1d514a94b037f46a239e6edef95403b734559c227ed4f2e
MD5 19897ae1ea467bce2d0dde1ea87b1fe2
BLAKE2b-256 71be05d93fd30e4e1c1c072145b9e0fad25838d5c40e5aba45fc9110627803c1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fbp-1.3.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 857d3393c8e7ea4a4e2155771d5e26deff50022002862a0de7ffbf31c5efc183
MD5 27be8362b97799efa1b1c0a5e885cf8d
BLAKE2b-256 51a410fbfac10cc6a60e5bedbfffb6f01a7764c166b579db914294ddbb222328

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