diff options
| author | Craig Barnes <craigbarnes@protonmail.com> | 2020-12-19 22:43:09 +0000 |
|---|---|---|
| committer | Craig Barnes <craigbarnes@protonmail.com> | 2020-12-19 22:43:09 +0000 |
| commit | 013cca646d226bb2b695154c6735269720ae940f (patch) | |
| tree | bdddb16b38605dc1c318566986318f8fdccd9c54 /INSTALL.md | |
| parent | term: fix builds with debug logging enabled (diff) | |
meson: use wrap files for fcft/tllist subprojects
See: https://mesonbuild.com/Wrap-dependency-system-manual.html
Diffstat (limited to 'INSTALL.md')
| -rw-r--r-- | INSTALL.md | 21 |
1 files changed, 3 insertions, 18 deletions
@@ -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 |
