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

Uploaded Python 3

File details

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

File metadata

  • Download URL: fbp-1.3.3.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.3.tar.gz
Algorithm Hash digest
SHA256 7b1e4cf3e6c6d40099ad753f83270b1bac4dbb8afa7bbd537c22540f01e4040e
MD5 8a806ab9efce6a224bb829fe3dc92c31
BLAKE2b-256 906760845cef1fba9d5fa2d586d12b9820881c62bb24eedab1efeb7e35f36ca8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fbp-1.3.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6b77148ee5145c93c8e5c928a1438a2e1de86842790121ad4cb1b0618531d256
MD5 e1812538acb5dfc4c953ca313c43b352
BLAKE2b-256 6864c0bb44e24e60ac24e83e46469eb64fb9298d7771ca8024c42c7bdbf1f6e7

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