FASTbuild generator for the helpless
Project description
Zetsubou
FASTbuild project generator for the helpless
High level wrapper around FASTbuild build system, written in python. Generates Visual Studio solution from simple yaml description. Supports Conan package manager. Provides commands for common operations, like setting up dev environment, building or clean (and many more in future).
Currently only Windows and msvc are supported, but clang and Linux are planned.
Install
pip install zetsubou
Usage
zetsubou [COMMAND] [PROJECT] [OPTIONS...]
zetsubou regen project.yml --verbose
Commands
- clean - removes all generated build folder and sln
- install - setups virtual environment based on your build_tools.ini
- gen - generates bff files, creates visual studio project and solution
- regen - clean, install and gen in one command
- build - build generated project
- create - (WiP) emit new project from template
Example Project
project.yml
project: MyTest
config:
verbose_build: false
platforms:
- 'platform/windows.yml'
rules:
- 'configurations/MsvcRules.yml'
configurations:
- 'configurations/Debug.yml'
- 'configurations/Release.yml'
config_string: '{platform}-{configuration}-{toolchain}'
conan:
build_tools: build_tools.ini
dependencies: dependencies.ini
targets:
- 'my_app/my_app.yml'
my_app.yml
target: 'MyApp'
config:
kind: EXECUTABLE
source:
paths: 'src'
patterns:
- '*.cpp'
Directory structure
my_project/
├── build/ # generated
│ ├── conan/ # conan dependencies install output
│ ├── fbuild/ # generated fastbuild files (bff)
│ ├── projects/ # generated vcxproj files
│ ├── scripts/ # command scripts
│ └── venv/ # virtual environment, with activate and deactivate scripts
│
├── my_app/
│ ├── src/
│ │ └── main.cpp
│ └── my_app.yml
│
├── my_project.sln # generated
├── build_tools.ini
├── dependencies.ini
└── project.yml
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
zetsubou-0.7.1.tar.gz
(64.1 kB
view details)
Built Distribution
zetsubou-0.7.1-py3-none-any.whl
(86.0 kB
view details)
File details
Details for the file zetsubou-0.7.1.tar.gz
.
File metadata
- Download URL: zetsubou-0.7.1.tar.gz
- Upload date:
- Size: 64.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 961b3c009c13d5be37879ca4796907dc5cd00f37d85a3329fcf1dcbff7d7e769 |
|
MD5 | 53b8bf5efce66b8cba2c38e75416a307 |
|
BLAKE2b-256 | 18f8099f97cc3804f41e8994425d3a675849f9d769e5ff69e2e579c440be2891 |
File details
Details for the file zetsubou-0.7.1-py3-none-any.whl
.
File metadata
- Download URL: zetsubou-0.7.1-py3-none-any.whl
- Upload date:
- Size: 86.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1cbc99eb7dcca58674a0a769bc97752377def5f8776d19329e6ee6cec64f5056 |
|
MD5 | d31294e304ce077a6164fc14dfdb5e23 |
|
BLAKE2b-256 | 99c9f0eb9013f29347a802b7cd1fac98aaf6af4c18eb976a8341d624f248e1e0 |