Build system
Project description
Erect
- (verb, transitive) To put up by the fitting together of materials or parts.
Introduction
Erect is a build system aimed at building speciality (e.g. embedded) software.
Design goals include:
- Support for C++20 modules.
- Type annotations and docstrings to help editors help you write blueprints.
- Embeddability (create tasks and run the dependency engine from within another python application).
Status and roadmap
- Basic functionality is in place.
- The API is not considered stable yet.
- Error handling and path handling needs to be improved.
- Documentation and tests are not written yet.
Usage
Erect will look for a file named blueprint.py
, whose contents might look like so:
from erect import Env
env = Env()
env.executable('hello', ['main.cpp'])
When you run erect
, this file will be loaded, which creates a build environment and the tasks necessary to build an executable from main.cpp
.
All build artifacts will go into the environment's build directory which defaults to build/
, so the resulting executable will be build/hello
.
After the blueprint is done, Erect will execute the created tasks in dependency order.
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
Built Distribution
File details
Details for the file erect-0.1.tar.gz
.
File metadata
- Download URL: erect-0.1.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.19.2 CPython/3.12.0 Darwin/23.1.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8261a448e49089a0791a5d82b44f4aaed07c9b76e4144b8f15ccbb3926f0659c |
|
MD5 | d2a9860ee29c981d8b55d3389ee523d6 |
|
BLAKE2b-256 | 3e71380392366e52661b021c77e81ccbf324d7bab260deb9355387a1b93fc77b |
File details
Details for the file erect-0.1-py3-none-any.whl
.
File metadata
- Download URL: erect-0.1-py3-none-any.whl
- Upload date:
- Size: 13.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.19.2 CPython/3.12.0 Darwin/23.1.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc3c918ea4c22bb41b9801010b3a8361492d56ec953bc6e12e06efa056969b04 |
|
MD5 | a1d4522406d4201d69165ff28571439b |
|
BLAKE2b-256 | 971b896ccb827bde99b4946a677f6f3ebd1a65fd73a3ec772bdac5e91897cf3b |