From 013cca646d226bb2b695154c6735269720ae940f Mon Sep 17 00:00:00 2001 From: Craig Barnes Date: Sat, 19 Dec 2020 22:43:09 +0000 Subject: meson: use wrap files for fcft/tllist subprojects See: https://mesonbuild.com/Wrap-dependency-system-manual.html --- INSTALL.md | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) (limited to 'INSTALL.md') diff --git a/INSTALL.md b/INSTALL.md index 43655b81..891882b4 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -26,15 +26,12 @@ foot makes use of a couple of libraries I have developed: [tllist](https://codeberg.org/dnkl/tllist) and [fcft](https://codeberg.org/dnkl/fcft). As such, they will most likely not have been installed already. You can either install them as system -libraries, or you can build them as _subprojects_ in foot. +libraries or build them as _subprojects_ in foot. When building foot, they will first be searched for as system libraries. If **found**, foot will link dynamically against them. - -If **not** found, they will be searched for as subprojects. In this -case you need to create the `subprojects` directory and clone -https://codeberg.org/dnkl/fcft.git and -https://codeberg.org/dnkl/tllist.git (see [Other](#other) below). +If **not** found, meson will attempt to download and build them as +subprojects. ## Requirements @@ -114,18 +111,6 @@ be interested in the compiler flags used there. ### Setup -If you have not installed [tllist](https://codeberg.org/dnkl/tllist) -and [fcft](https://codeberg.org/dnkl/fcft) as system libraries, clone -them into the `subprojects` directory: - -```sh -mkdir -p subprojects -pushd subprojects -git clone https://codeberg.org/dnkl/tllist.git -git clone https://codeberg.org/dnkl/fcft.git -popd -``` - To build, first, create a build directory, and switch to it: ```sh mkdir -p bld/release && cd bld/release -- cgit v1.3