Skip to content

Building with Meson

Andrea Agosti edited this page Apr 21, 2023 · 3 revisions

Meson is the preferred build tool to be used for building release builds of Tilix for distros. Previously autotools was used however that will be deprecated and eventually removed from this repo in favor of Meson.

To build Tilix with meson, the following steps are required:

  1. First fetch the dependencies that Tilix requires using the D tool dub. Note that this step is required due to a bug in Meson 0.48, it is expected that this step will be eliminated with the next release of Meson.
dub fetch [email protected]
dub build gtk-d:gtkd --compiler=ldc2
dub build gtk-d:vte --compiler=ldc2
  1. Next you will need to configure the meson build and perform the build:
cd tilix
meson setup <builddir> --prefix=/usr
cd <builddir>
ninja

Note replace <buildir> with the directory of your choice.

  1. To install Tilix, use the ninja install command:
sudo ninja install
Clone this wiki locally