Build file generator for CMake.
Bulc is based on bulgogi, a YAML parser for build configurations.
See SYNOPSIS.md.
Bulc can be installed from pypi using pip:
$ pip install bulc
Its dependencies are currently:
- bulgogi-py (
pip install bulgogi
) - jinja2 (
pip install jinja2
)
These will automatically be fetched when bulc is installed with pip.
Once installed, the bulc
CLI tool should be available on your system or venv path.
$ bulc file.yml template.jinja > file.out
file.yml
: the YAML-defined template configuration.template.jinja
: the jinja template file to feedfile.yaml
into.file.out
: the output file to produce from the template.
Suppose a project.yaml
file defined the targets to be built and Makefile.jinja
defined the Makefile template to use.
$ bulc project.yaml Makefile.jinja > Makefile
Once generated, using the build file would simply be a matter of running:
$ make
bulc by Alex Amellal is licensed under CC BY 4.0