Vinum is a document preparation system.
This is a Monorepo where all the Vinum related project exists.
The project are:
The Vinum compiler, it turns the .vin
files into your desired output document.
An unit test framework for testing the others Vinum subprojects inspired by KUnit.
- C compiler
- Meson
- Bison
- Flex
This project uses Meson for its build system, all the projects
reside on the subproject
directory.
This is how you use it.
On the project root, use this command to create the build directory.
meson setup <build_dir>
Tip
You can make out of tree builds by specifying a path outside the project, like
/tmp/build
After that you can compile the project with:
meson compile -C <build_dir>
Each subproject has it build options, you can see and modify them with the commands below, respectively:
meson configure -C <build_dir>
meson configure -C <build_dir> -D'<option>=<option_value>'
If you want to run the unit tests:
meson test -C <build_dir>