Support the Meson build system
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libvterm |
New
|
Undecided
|
Unassigned |
Bug Description
Meson is a relatively new and popular build system with a simple declaration language, integrated dependency management, and good cross-compilation support. Supporting Meson in libvterm allows developers to easily integrate libvterm into their own Meson-based project.
The only change that had to be done in libvterm to support Meson is to add an additional "--executable" parameter to run-test.pl, so that the unit-tests can be executed within an out-of-tree build.
Here are my patches:
[PATCH] Add --executable/-e flag to run-test.p
https:/
[PATCH] Add meson.build
https:/
[PATCH] Ignore "build" directory in bzr
https:/
[PATCH] Symlink .bzrignore to .gitignore
https:/
Note that only the first two patches are really required, the last two patches are more quality-of-life improvements for myself.
Patch (1/4) looks good; I've applied as bzr -r722
Patch (2/4) looks interesting - it hardcodes a full list of the test filenames. Is there not a way to glob the directory for all of them? That looks like it could be a problem to keep it maintained as more tests get added. Additionally, can you add a comment to the file giving some author information, so I can remember where to send questions to in case problems come up - since I didn't write that bit :)