build system written in python for projects in C, C++, Python, ASM
Project description
burn-build 🚀
build system written in python for projects in C, C++, Python, ASM
Explore the docs »
Key Features
·
Getting Started
·
Basic Usage
·
Specification
·
License
🚀 Getting Started
burn-build is available on PyPI. Simply install the package into your project environment with PIP:
pip install pyburn_build
Once installed, you can start using the library in your Python projects.
💻 Usage Examples
Create project_config.json:
{
"metadata": {
"name": "Example",
"version": "0.1.0",
"description": "Hello World app",
"language": "cpp"
},
"compiler": {
"name": "g++",
"base_compiler_flags": ["-Wall"],
"linker_flags": []
}
}
Create toolchain_config.json:
{
"prelude_commands": [],
"targets": {
"target1": {
"dependencies": [],
"compiler_options": ["-O2", "-pedantic"],
"sources": ["src/main.c"],
"output": "out/target1.out",
"objects": [],
"compiler": "gcc"
},
"target2": {
"dependencies": [],
"compiler_options": ["-O3", "-pedantic"],
"sources": ["src/main2.cpp"],
"output": "out/target2.out",
"objects": []
}
},
"post_commands": []
}
And create project:
python3 -m pyburn_build create --project-config example_configs/project_config.json --toolchain-config example_configs/toolchain_config.json
And build project:
python3 -m pyburn_build build --project-config example_configs/project_config.json --toolchain-config example_configs/toolchain_config.json
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyburn_build-0.1.4.tar.gz
(17.6 kB
view details)
Built Distribution
File details
Details for the file pyburn_build-0.1.4.tar.gz
.
File metadata
- Download URL: pyburn_build-0.1.4.tar.gz
- Upload date:
- Size: 17.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.7 Linux/6.11.5-2-cachyos
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b49e0c9c1f2e75b670a8ec2ab83b81b73c395152ce141e7c72ae35035e302fd0 |
|
MD5 | 0a16b3043b22bbe2f61dd65cedea6ba8 |
|
BLAKE2b-256 | a1f3c0f381eed69a8549a5fb5a22ddd602e18e13c4dda843de63e8502221e27f |
File details
Details for the file pyburn_build-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: pyburn_build-0.1.4-py3-none-any.whl
- Upload date:
- Size: 20.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.7 Linux/6.11.5-2-cachyos
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83b8250dcf6c71f6c5bed944fc4d235a5c62cb44588f4df6557855715af636c8 |
|
MD5 | 3378b73a24a0c0164a9f9a9c794f666c |
|
BLAKE2b-256 | 343ae0c2127928580eec4e93706e4f24173020f912cc7b0e1388383d4da3dfdb |