Catalyst is a python script to generate a C project from my personalized templates. The generated project uses Meson as a build system and generates initial quick start files.
For a more straightforward usage, add the catalyst.py
file to your PATH.
Argument | Description | Default values |
---|---|---|
name | Name of the project | No default, required |
type | Type of the project (library or executable) | executable |
license | Which license to use for the project (MIT or GPL) | MIT |
enable-tests | Whether to enable test file generation for library projects (true or false) | false |
enable-examples | Whether to enable compilation of example proejcts for library projects (true or false) | false |
python catalyst.py --name my_lib --type library
or more explicitly:
catalyst.py --name my_lib --type library --license MIT --enable-tests false
catalyst.py --name my_app --type executable --license GPL --enable-tests true
catalyst.py --name my_lib --type library --license GPL --enable-tests true --enable-examples true