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.6.3.tar.gz
(49.8 kB
view details)
Built Distribution
zetsubou-0.6.3-py3-none-any.whl
(66.6 kB
view details)
File details
Details for the file zetsubou-0.6.3.tar.gz
.
File metadata
- Download URL: zetsubou-0.6.3.tar.gz
- Upload date:
- Size: 49.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b28e9da005f5b02e24b1ebe57a1a1891aef365d3495716947f1899c31382b83 |
|
MD5 | f8ab1832ea2ec39924469f84c9be556f |
|
BLAKE2b-256 | d6870cd9b8979aed611329afe0218c83c4f41ef48d39dec32b74e518423a054b |
File details
Details for the file zetsubou-0.6.3-py3-none-any.whl
.
File metadata
- Download URL: zetsubou-0.6.3-py3-none-any.whl
- Upload date:
- Size: 66.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0503dc45fc22b8e61c72d7de85e5361d7526338621b2682ef2402250052e790d |
|
MD5 | 1ca3835a50a885f84df701108b6ab833 |
|
BLAKE2b-256 | 4267c3e090fbbc17ab4759c2aa2eb30e094bdfeb030fe354e169c8a51aa373bb |