Skip to main content

FASTbuild generator for the helpless

Project description

Zetsubou

CI (ubuntu-latest) PyPI version

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 [PROJECT] [COMMANDS...] [OPTIONS...]
zetsubou project.yml install gen --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

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


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.4.0.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

zetsubou-0.4.0-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file zetsubou-0.4.0.tar.gz.

File metadata

  • Download URL: zetsubou-0.4.0.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for zetsubou-0.4.0.tar.gz
Algorithm Hash digest
SHA256 832f2180ba53dc16a02597a377e02403c25ec418d4bc556b0e9b3630136a163a
MD5 5362771d37d010d73d29215f9e144632
BLAKE2b-256 2927c22c49bca561603ad12b80e077d121fdaab82cc9e1aa11732228d04b3822

See more details on using hashes here.

File details

Details for the file zetsubou-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: zetsubou-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 5.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for zetsubou-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5b6291fdd2dd3f746c5a0ffd0a40d355e5d430497d0ad47f3f4a916d6c924c5b
MD5 16f733bec26c268a620adb86d31c9d4d
BLAKE2b-256 a86443d2eaa3e03183167da5738439a120b53ec91defd56b7d155469b5576b78

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page