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.5.tar.gz (5.4 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.5-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fbp-1.3.5.tar.gz
  • Upload date:
  • Size: 5.4 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.5.tar.gz
Algorithm Hash digest
SHA256 ab11aa4292bb9731deb92bfaac4b377b4411711723fdce3bff453318ff7786df
MD5 10bda7bd7329ccc6510a08e8a2705fec
BLAKE2b-256 69cd798ad273ab80bbb7d6cbcfc372c9bae4448dc31f5039c47eb34fd78f3267

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fbp-1.3.5-py3-none-any.whl
  • Upload date:
  • Size: 6.9 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 53ecc1835075003f4cdcb4cf5f61ed2266c4c80639ac54844c2f63146764d9b8
MD5 c95f7ca75c68264ddda681c6afa568a7
BLAKE2b-256 7e816a0ce2b7334f7e4e27d7f5af17ee580f463ead3447e32b62a2080f02aca5

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