Tlaxcaltin (plural of Nahuatl tlaxcalli, “tortilla”) is a collection of wraps and corresponding package files for use in other projects, together with tools to manage the subprojects used. It is designed to be used as the source of all subprojects which a Meson-based project uses and can be integrated into a project using the following steps:
- Add a file named
subprojects.txtto the root folder of the project and add the names of the required subprojects to that file. These names correspond to the wrap files in the root directory of this repository without the suffix (i.e. the stem of the file path). The dependencies of these projects are determined by Tlaxcaltin and included as well.
If there is no file namedsubprojects.txtin the project’s root folder, all of Tlaxcaltin’s subprojects are included, which is usually not desirable. - Copy
update_tlaxcaltin.pyinto a subfolder namedsubprojectswithin the project’s root folder and executepython3 subprojects/update_tlaxcaltin.py.
To add new subprojects to a project or to update the existing subprojects, edit subprojects.txt (if required) and execute python3 subprojects/update_tlaxcaltin.py again.
Note that this adds the selected Meson wraps and package files, as well as other required Tlaxcaltin files, to the main projects source tree. Attempts to use Tlaxcaltin as a Git subproject have failed in the past, necessitating this suboptimal solution.
Tlaxcaltin is licenced under the terms of the Mozilla Public Licence 2.0, which is provided in License.
There are some wraps package files which are based on Meson wraps from the Meson Wrap Database, which are licenced under the MIT licence, which is provided as LicenseWrapDB.
These are:
fmtgoogle-benchmarkliblzmanlohmann-json